[docs] [issue13828] Further improve casefold documentation
report at bugs.python.org
Thu Oct 29 03:14:19 EDT 2015
Mark Summerfield added the comment:
I think the str.casefold() docs are fine as far as they go, rightly covering what it _does_ rather than _how_, yet providing a reference for the details. But what they lack is more complete information. For example I discovered this:
>>> x = "ﬁles and shuﬄes"
'ﬁles and shuﬄes'
'files and shuffles'
In view of this I would add one sentence:
In addition to lowercasing, this function also expands ligatures, for example, "ﬁ" becomes "fi".
Python tracker <report at bugs.python.org>
More information about the docs