mirror of
https://github.com/python/cpython.git
synced 2026-06-22 19:12:50 -04:00
gh-69619: Clarify whitespace definition in str.strip docs (GH-150021)
This commit is contained in:
@@ -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::
|
||||
|
||||
Reference in New Issue
Block a user