Skip to content

Commit bec4336

Browse files
[3.15] gh-69619: Clarify whitespace definition in str.strip docs (#150049)
(cherry picked from commit 17eb17d) Co-authored-by: Daniil <d.mayorov@innopolis.university>
1 parent 65b2554 commit bec4336

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Doc/library/stdtypes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2747,6 +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 defined by :meth:`str.isspace`.
2751+
27502752
For example:
27512753

27522754
.. doctest::

0 commit comments

Comments
 (0)