Skip to content

Commit a315c8a

Browse files
Daniil20xxmiss-islington
authored andcommitted
gh-69619: Clarify whitespace definition in str.strip docs (GH-150021)
(cherry picked from commit 17eb17d) Co-authored-by: Daniil <d.mayorov@innopolis.university>
1 parent 09b2e00 commit a315c8a

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
@@ -2592,6 +2592,8 @@ expression support in the :mod:`re` module).
25922592
The *chars* argument is not a prefix or suffix; rather, all combinations of its
25932593
values are stripped.
25942594

2595+
Whitespace characters are defined by :meth:`str.isspace`.
2596+
25952597
For example:
25962598

25972599
.. doctest::

0 commit comments

Comments
 (0)