Skip to content

Commit 6fb207e

Browse files
[3.13] gh-69619: Clarify whitespace definition in str.strip docs (GH-150021) (GH-150047)
(cherry picked from commit 17eb17d) Co-authored-by: Daniil <d.mayorov@innopolis.university>
1 parent 44f3149 commit 6fb207e

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)