]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-106318: Fix incorrectly rendered code block in `str.isalnum()` docs (GH-144718)
authorAdorilson Bezerra <adorilson@gmail.com>
Thu, 12 Feb 2026 07:40:17 +0000 (07:40 +0000)
committerGitHub <noreply@github.com>
Thu, 12 Feb 2026 07:40:17 +0000 (08:40 +0100)
Doc/library/stdtypes.rst

index 0e5f5dc39e72778fe3b6b657340fa8abe88548b3..d4540e0b81987169bd9c223dc4d2201be3f437ea 100644 (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::