Philip Jenvey <[email protected]> added the comment:

S.capitalize() -> string

Return a copy of the string S with only its first character
capitalized.

You've misunderstood the docs, only the first character is indeed capitalized. 
You want string.capwords instead

----------
nosy: +pjenvey
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue8347>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to