]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-69619: Clarify whitespace definition in str.strip docs (GH-150021)
authorDaniil <d.mayorov@innopolis.university>
Tue, 19 May 2026 01:10:50 +0000 (04:10 +0300)
committerGitHub <noreply@github.com>
Tue, 19 May 2026 01:10:50 +0000 (03:10 +0200)
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::