mirror of
https://github.com/python/cpython.git
synced 2026-06-28 03:41:13 +00:00
[3.13] gh-69619: Clarify whitespace definition in str.strip docs (GH-150021) (GH-150047)
(cherry picked from commit 17eb17d43f)
Co-authored-by: Daniil <d.mayorov@innopolis.university>
This commit is contained in:
parent
44f314933c
commit
6fb207ef3e
1 changed files with 2 additions and 0 deletions
|
|
@ -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::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue