Skip to content

Commit 3f8c211

Browse files
committed
gh-69619: use str.isspace for whitespace definition
1 parent a46fff4 commit 3f8c211

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/stdtypes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2747,8 +2747,8 @@ expression support in the :mod:`re` module).
27472747
The *chars* argument is not a prefix or suffix; rather, all combinations of its
27482748
values are stripped.
27492749

2750-
Whitespace characters are those defined by Unicode as spaces, tabs, and newline characters.
2751-
2750+
Whitespace characters are defined by :meth:`str.isspace`.
2751+
27522752
For example:
27532753

27542754
.. doctest::

0 commit comments

Comments
 (0)