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