Skip to content

Commit 54d5482

Browse files
committed
gh-106318: Fix typo in the str.isdigit() docs
1 parent 2b20c17 commit 54d5482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/stdtypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2278,7 +2278,7 @@ expression support in the :mod:`re` module).
22782278
>>> '²'.isdecimal(), '²'.isdigit(), '²'.isnumeric()
22792279
(False, True, True)
22802280

2281-
See also :meth:`isdecimal` and :meth:`isnumeric`. Digital characters are a
2281+
See also :meth:`isdecimal` and :meth:`isnumeric`. Digit characters are a
22822282
superset of decimal characters.
22832283

22842284

0 commit comments

Comments
 (0)