summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-05-10 12:33:13 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-05-10 12:33:13 (GMT)
commitfd7aaab184ad50992e7930a403d5750fe84a644f (patch)
tree3a4ea323a841bedcc08a78541befe6f4b0cef3eb /Doc/library
parentb58ab2c6aa96a9320de2d4b2966e0e968ce5c524 (diff)
parentbf3165b971d3fe9ad426beacc9bcf926c9d45267 (diff)
downloadcpython-fd7aaab184ad50992e7930a403d5750fe84a644f.zip
cpython-fd7aaab184ad50992e7930a403d5750fe84a644f.tar.gz
cpython-fd7aaab184ad50992e7930a403d5750fe84a644f.tar.bz2
#14763: merge with 3.2.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/stdtypes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 4e1f7a7..e1f4748 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -1328,8 +1328,8 @@ functions based on regular expressions.
Return a list of the words in the string, using *sep* as the delimiter
string. If *maxsplit* is given, at most *maxsplit* splits are done (thus,
the list will have at most ``maxsplit+1`` elements). If *maxsplit* is not
- specified, then there is no limit on the number of splits (all possible
- splits are made).
+ specified or ``-1``, then there is no limit on the number of splits
+ (all possible splits are made).
If *sep* is given, consecutive delimiters are not grouped together and are
deemed to delimit empty strings (for example, ``'1,,2'.split(',')`` returns