Skip to content

Commit 806932b

Browse files
adorilsonhugovk
andauthored
gh-106318: Add an example for str.capitalize()
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 714ccd8 commit 806932b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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-
>>> 'LJjubljana starts With a non-English digraph'.capitalize()
1767-
'Ljjubljana starts with a non-english digraph'
1766+
>>> 'Njemačka starts With a non-ASCII digraph'.capitalize()
1767+
'Njemačka starts with a non-ascii digraph'
17681768

17691769
See also :meth:`title`.
17701770

0 commit comments

Comments
 (0)