
Nov. 30, 2000
7:53 p.m.
i.e I think
'aAaA'.capitalize()
should result in
'AAaA'
No. The capitalize() method, which descends from the string.capitalize(), and which definitely should return 'Aaaa' here. This means that (a) the documentation needs some clarification, and (b) the Unicode capitalize() method is broken and needs to be fixed. --Guido van Rossum (home page: http://www.python.org/~guido/)