[3.13] gh-69619: Clarify whitespace definition in str.strip docs (GH-150021) (GH-150047)

(cherry picked from commit 17eb17d43f)

Co-authored-by: Daniil <d.mayorov@innopolis.university>
This commit is contained in:
Miss Islington (bot) 2026-05-19 23:07:20 +02:00 committed by GitHub
parent 44f314933c
commit 6fb207ef3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2592,6 +2592,8 @@ expression support in the :mod:`re` module).
The *chars* argument is not a prefix or suffix; rather, all combinations of its
values are stripped.
Whitespace characters are defined by :meth:`str.isspace`.
For example:
.. doctest::