This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eka
Recipients eka
Date 2010-06-27.03:34:01
SpamBayes Score 1.0277554e-06
Marked as misclassified No
Message-id <1277609644.85.0.417350742268.issue9091@psf.upfronthosting.co.za>
In-reply-to
Content
As per documentation:
I doesn't say anything on lower the rest of the string.
Is this the expected behavior?

**
str.capitalize()¶
Return a copy of the string with only its first character capitalized.

For 8-bit strings, this method is locale-dependent.
**

Example:

Python 2.6.5 (r265:79063, May 24 2010, 14:03:08) 
[GCC 4.2.1 (Apple Inc. build 5659)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> a = 'this is a TEST'
>>> a.capitalize()
'This is a test'
History
Date User Action Args
2010-06-27 03:34:04ekasetrecipients: + eka
2010-06-27 03:34:04ekasetmessageid: <1277609644.85.0.417350742268.issue9091@psf.upfronthosting.co.za>
2010-06-27 03:34:02ekalinkissue9091 messages
2010-06-27 03:34:01ekacreate