https://github.com/python/cpython/commit/5c77c7d944d607a28211f947f042b11000513e45 commit: 5c77c7d944d607a28211f947f042b11000513e45 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: encukou <[email protected]> date: 2026-03-03T13:13:02+01:00 summary:
[3.13] gh-106318: Fix incorrectly rendered code block in `str.isalnum()` docs (GH-144718) (GH-144729) (cherry picked from commit f912c835b94d75ae4823153c160f0cc674a243bb) Co-authored-by: Adorilson Bezerra <[email protected]> files: M Doc/library/stdtypes.rst diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 61c9d008c593b4..edac63e0e969a7 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -1939,7 +1939,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:: _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
