Skip to content

Commit 053f77a

Browse files
adorilsonvstinner
andauthored
Update Doc/library/stdtypes.rst
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 1161111 commit 053f77a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/stdtypes.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,10 +1846,10 @@ expression support in the :mod:`re` module).
18461846

18471847
.. doctest::
18481848

1849-
>>> 'straße'.lower() == 'strasse'
1850-
False
1851-
>>> 'straße'.casefold() == 'strasse'
1852-
True
1849+
>>> 'straße'.lower()
1850+
'straße'
1851+
>>> 'straße'.casefold()
1852+
'strasse'
18531853

18541854

18551855
The casefolding algorithm is `described in section 3.13.3 'Default Case

0 commit comments

Comments
 (0)