gh-106318: Fix incorrectly rendered code block in str.isalnum() docs (GH-144718)

This commit is contained in:
Adorilson Bezerra
2026-02-12 07:40:17 +00:00
committed by GitHub
parent 46d5106cfa
commit f912c835b9
+1 -1
View File
@@ -2183,7 +2183,7 @@ expression support in the :mod:`re` module).
Return ``True`` if all characters in the string are alphanumeric and there is at
least one character, ``False`` otherwise. A character ``c`` is alphanumeric if one
of the following returns ``True``: ``c.isalpha()``, ``c.isdecimal()``,
``c.isdigit()``, or ``c.isnumeric()``. For example::
``c.isdigit()``, or ``c.isnumeric()``. For example:
.. doctest::