Skip to content

Commit c06089f

Browse files
Remove outdated explanation of the "chars" name.
1 parent c2068d2 commit c06089f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Doc/library/stdtypes.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3445,8 +3445,7 @@ produce new objects.
34453445

34463446
Return a copy of the sequence with specified leading bytes removed. The
34473447
*bytes* argument is a binary sequence specifying the set of byte values to
3448-
be removed - the name refers to the fact this method is usually used with
3449-
ASCII characters. If omitted or ``None``, the *bytes* argument defaults
3448+
be removed. If omitted or ``None``, the *bytes* argument defaults
34503449
to removing ASCII whitespace. The *bytes* argument is not a prefix;
34513450
rather, all combinations of its values are stripped::
34523451

@@ -3501,8 +3500,7 @@ produce new objects.
35013500

35023501
Return a copy of the sequence with specified trailing bytes removed. The
35033502
*bytes* argument is a binary sequence specifying the set of byte values to
3504-
be removed - the name refers to the fact this method is usually used with
3505-
ASCII characters. If omitted or ``None``, the *bytes* argument defaults to
3503+
be removed. If omitted or ``None``, the *bytes* argument defaults to
35063504
removing ASCII whitespace. The *bytes* argument is not a suffix; rather,
35073505
all combinations of its values are stripped::
35083506

@@ -3578,8 +3576,7 @@ produce new objects.
35783576

35793577
Return a copy of the sequence with specified leading and trailing bytes
35803578
removed. The *bytes* argument is a binary sequence specifying the set of
3581-
byte values to be removed - the name refers to the fact this method is
3582-
usually used with ASCII characters. If omitted or ``None``, the *bytes*
3579+
byte values to be removed. If omitted or ``None``, the *bytes*
35833580
argument defaults to removing ASCII whitespace. The *bytes* argument is
35843581
not a prefix or suffix; rather, all combinations of its values are
35853582
stripped::

0 commit comments

Comments
 (0)