Message253662
| Author |
mark |
| Recipients |
Jim.Jewett, benjamin.peterson, docs@python, mark |
| Date |
2015年10月29日.07:14:18 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1446102859.11.0.133821459272.issue13828@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 = "files and shuffles"
>>> x
'files and shuffles'
>>> x.casefold()
'files and shuffles'
In view of this I would add one sentence:
In addition to lowercasing, this function also expands ligatures, for example, "fi" becomes "fi". |
|