mirror of
https://github.com/python/cpython.git
synced 2026-04-14 15:50:50 +00:00
[3.14] gh-106318: Fix incorrectly rendered code block in str.isalnum() docs (GH-144718) (GH-144730)
(cherry picked from commit f912c835b9)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
This commit is contained in:
parent
96c9394c8a
commit
d8f0ffebef
1 changed files with 1 additions and 1 deletions
|
|
@ -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::
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue