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

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

index e3bd1a46891adc5e93e6a9c0920e19151b1d93cd..b0388c4e1f0bd459dca3e7644645839571c365bd 100644 (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::