Skip to content

Commit a46fff4

Browse files
committed
gh-69619: Clarify whitespace definition in str.strip docs
1 parent 00ea776 commit a46fff4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Doc/library/stdtypes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2747,6 +2747,8 @@ expression support in the :mod:`re` module).
27472747
The *chars* argument is not a prefix or suffix; rather, all combinations of its
27482748
values are stripped.
27492749

2750+
Whitespace characters are those defined by Unicode as spaces, tabs, and newline characters.
2751+
27502752
For example:
27512753

27522754
.. doctest::

0 commit comments

Comments
 (0)