mirror of
https://github.com/python/cpython.git
synced 2026-06-05 01:10:53 +00:00
gh-69619: Clarify whitespace definition in str.strip docs (GH-150021)
This commit is contained in:
parent
43c3438a2a
commit
17eb17d43f
1 changed files with 2 additions and 0 deletions
|
|
@ -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::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue