Skip to content

Commit efb0b22

Browse files
committed
gh-106318: Fix wrong :: in the str.isalnum() method docs
1 parent 3718f4b commit efb0b22

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
@@ -2183,7 +2183,7 @@ expression support in the :mod:`re` module).
21832183
Return ``True`` if all characters in the string are alphanumeric and there is at
21842184
least one character, ``False`` otherwise. A character ``c`` is alphanumeric if one
21852185
of the following returns ``True``: ``c.isalpha()``, ``c.isdecimal()``,
2186-
``c.isdigit()``, or ``c.isnumeric()``. For example::
2186+
``c.isdigit()``, or ``c.isnumeric()``. For example:
21872187

21882188
.. doctest::
21892189

0 commit comments

Comments
 (0)