[Python-Dev] surprising bug in s.capitalize()?

Guido van Rossum guido@python.org
Thu, 30 Nov 2000 14:53:23 -0500

> 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/)