https://github.com/python/cpython/commit/6fb207ef3eb7d1212a4ea9f1b86f0af2d1f2f1fa commit: 6fb207ef3eb7d1212a4ea9f1b86f0af2d1f2f1fa branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: encukou <[email protected]> date: 2026-05-19T23:07:20+02:00 summary:
[3.13] gh-69619: Clarify whitespace definition in str.strip docs (GH-150021) (GH-150047) (cherry picked from commit 17eb17d43f66a0f7985fca05c7c9684bc01fabcd) Co-authored-by: Daniil <[email protected]> files: M Doc/library/stdtypes.rst diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 20e021ec4842b8..ecc11201db7829 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:: _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
