"Barry A. Warsaw" wrote: > > I was just surprised by something I've never observed before from > string.capitalize(). There is clearly either a bug (really two) in > the code or in the documentation. > > >>> '__Myfoo'.capitalize() > '__myfoo' > > Huh? The documentation says: I guess I am a total geek, but it seems right to me. The capital of "_" is "_", and the rest was converted to lower case. JimA
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4