Skip to content

Commit 4fdfc37

Browse files
adorilsonmiss-islington
authored andcommitted
gh-106318: Fix incorrectly rendered code block in str.isalnum() docs (GH-144718)
(cherry picked from commit f912c83) Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
1 parent 9a57c93 commit 4fdfc37

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

19441944
.. doctest::
19451945

0 commit comments

Comments
 (0)