From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 3 Mar 2026 12:12:36 +0000 (+0100) Subject: [3.14] gh-106318: Fix incorrectly rendered code block in `str.isalnum()` docs (GH... X-Git-Tag: v3.14.4~214 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d8f0ffebefa1f0c22dad8870c77e5130c464f3cd;p=thirdparty%2FPython%2Fcpython.git [3.14] gh-106318: Fix incorrectly rendered code block in `str.isalnum()` docs (GH-144718) (GH-144730) (cherry picked from commit f912c835b94d75ae4823153c160f0cc674a243bb) Co-authored-by: Adorilson Bezerra --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 1e1ae7a129d5..976bc130d982 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -2090,7 +2090,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::