Skip to content

Commit e1f29ec

Browse files
authored
Trying digraphs on stdtypes.rst (should be revert)
See #134272 (comment)
1 parent 806932b commit e1f29ec

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Doc/library/stdtypes.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1617,7 +1617,7 @@ category.
16171617
| +-------------------------------------------+---------------------------------------------------+
16181618
| | :meth:`str.casefold` | |
16191619
| +-------------------------------------------+---------------------------------------------------+
1620-
| | :meth:`str.capitalize` | :meth:`bytes.capitalize` |
1620+
| | :meth:`str.` | :meth:`bytes.capitalize` |
16211621
| +-------------------------------------------+---------------------------------------------------+
16221622
| | :meth:`str.title` | :meth:`bytes.title` |
16231623
| +-------------------------------------------+---------------------------------------------------+
@@ -1765,6 +1765,13 @@ expression support in the :mod:`re` module).
17651765
'Python is amazing'
17661766
>>> 'Njemačka starts With a non-ASCII digraph'.capitalize()
17671767
'Njemačka starts with a non-ascii digraph'
1768+
>>> ' DZ, Dz, dz'.title()
1769+
>>> 'DŽ, Dž, dž '.title()
1770+
>>> 'IJ, ij'.title()
1771+
>>> 'LJ, Lj, lj '.title()
1772+
>>> 'NJ, Nj, nj '.title()
1773+
>>> 'ᵺ '.title()
1774+
17681775

17691776
See also :meth:`title`.
17701777

0 commit comments

Comments
 (0)