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

This commit is contained in:
Daniil 2026-05-19 04:10:50 +03:00 committed by GitHub
parent 43c3438a2a
commit 17eb17d43f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2747,6 +2747,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::