Skip to content

Commit 714ccd8

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/stdtypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1763,7 +1763,7 @@ 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()
1766+
>>> 'LJjubljana starts With a non-English digraph'.capitalize()
17671767
'Ljjubljana starts with a non-english digraph'
17681768

17691769
See also :meth:`title`.

0 commit comments

Comments
 (0)