A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-November/010836.html below:

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

[Python-Dev] surprising bug in s.capitalize()? [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/)




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4