From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 19 May 2026 17:49:12 +0000 (+0200) Subject: [3.14] gh-69619: Clarify whitespace definition in str.strip docs (#150048) X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=afa287e4d132bba11049a07c7cce1d6710674c58;p=thirdparty%2FPython%2Fcpython.git [3.14] gh-69619: Clarify whitespace definition in str.strip docs (#150048) (cherry picked from commit 17eb17d43f66a0f7985fca05c7c9684bc01fabcd) Co-authored-by: Daniil --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index ec18cd752591..94b7c8841759 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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::