]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-69619: Clarify whitespace definition in str.strip docs (#150048)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 19 May 2026 17:49:12 +0000 (19:49 +0200)
committerGitHub <noreply@github.com>
Tue, 19 May 2026 17:49:12 +0000 (18:49 +0100)
(cherry picked from commit 17eb17d43f66a0f7985fca05c7c9684bc01fabcd)

Co-authored-by: Daniil <d.mayorov@innopolis.university>
Doc/library/stdtypes.rst

index ec18cd752591473d70d1d32fd8bcffdb37832e0a..94b7c8841759afe6c35d6fc656d511ffe6e3eb78 100644 (file)
@@ -2743,6 +2743,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::