From: Adorilson Bezerra Date: Thu, 12 Feb 2026 07:40:17 +0000 (+0000) Subject: gh-106318: Fix incorrectly rendered code block in `str.isalnum()` docs (GH-144718) X-Git-Tag: v3.15.0a7~303 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f912c835b94d75ae4823153c160f0cc674a243bb;p=thirdparty%2FPython%2Fcpython.git gh-106318: Fix incorrectly rendered code block in `str.isalnum()` docs (GH-144718) --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 0e5f5dc39e72..d4540e0b8198 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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::