Thorsten <mrsupert...@gmail.com> added the comment:

I see. I found the documents. That's an issue. That usage is incorrect. It is 
still valid to upper case "ß" to SS since "ẞ" is fairly new as an official 
German character, but the other way around is not valid.

As such the current sentence in documentation also just does not make sense.

>"Since it is already lowercase, lower() would do nothing to 'ß'"

Exactly. Why would it? It is nonsensical to change an already lowercase 
character with a lowercase function.

Suggest to update to:

"For example, the Unicode standard for German lower case letter 'ß' prescribes 
full casefolding to 'ss'. Since it is already lowercase, lower() would do 
nothing to 'ß'; casefold() converts it to 'ss'.
In addition to full lowercasing, this function also expands ligatures, for 
example, 'fi' becomes 'fi'."

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue13828>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to