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

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

index 20e021ec4842b86e852bbd80acad9d5bd2ee30cc..ecc11201db7829f754352337c13935d261eaa7d0 100644 (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::