Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fd7aaab

Browse files
committed
#14763: merge with 3.2.
2 parents b58ab2c + bf3165b commit fd7aaab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/stdtypes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,8 +1328,8 @@ functions based on regular expressions.
13281328
Return a list of the words in the string, using *sep* as the delimiter
13291329
string. If *maxsplit* is given, at most *maxsplit* splits are done (thus,
13301330
the list will have at most ``maxsplit+1`` elements). If *maxsplit* is not
1331-
specified, then there is no limit on the number of splits (all possible
1332-
splits are made).
1331+
specified or ``-1``, then there is no limit on the number of splits
1332+
(all possible splits are made).
13331333

13341334
If *sep* is given, consecutive delimiters are not grouped together and are
13351335
deemed to delimit empty strings (for example, ``'1,,2'.split(',')`` returns

0 commit comments

Comments
 (0)