New submission from Esteban Feldman <esteban.feld...@gmail.com>: 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' ---------- components: Library (Lib) messages: 108772 nosy: eka priority: normal severity: normal status: open title: str.capitalize() should not lower the rest of the string type: behavior versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9091> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com