Skip to content

Commit 41bc9bc

Browse files
committed
Replace the city name in the example.
The suggestion was to use a example where there was a bigger contrast between the uppercase in the input stream and the mixed case in the result.
1 parent 2194efe commit 41bc9bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/stdtypes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,8 +1763,8 @@ expression support in the :mod:`re` module).
17631763

17641764
>>> 'PYTHON IS AMAZING'.capitalize()
17651765
'Python is amazing'
1766-
>>> 'Njemačka Starts With a non-english Digraph'.capitalize()
1767-
'Njemačka starts with a non-english digraph'
1766+
>>> 'LJjubljana starts With a non-english digraph'.capitalize()
1767+
'Ljjubljana starts with a non-english digraph'
17681768

17691769
See also :meth:`title`.
17701770

0 commit comments

Comments
 (0)