Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Doc/library/stdtypes.rst
Co-authored-by: Victor Stinner <vstinner@python.org>
  • Loading branch information
adorilson and vstinner authored Jan 6, 2026
commit 053f77afc0b3b1369434e769c4cf43be860f4f7b
8 changes: 4 additions & 4 deletions Doc/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1846,10 +1846,10 @@ expression support in the :mod:`re` module).

.. doctest::

>>> 'straße'.lower() == 'strasse'
False
>>> 'straße'.casefold() == 'strasse'
True
>>> 'straße'.lower()
'straße'
>>> 'straße'.casefold()
'strasse'

Comment thread
adorilson marked this conversation as resolved.

The casefolding algorithm is `described in section 3.13.3 'Default Case
Expand Down
Loading