diff options
author | Raymond Hettinger <python@rcn.com> | 2004-09-06 00:42:14 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-09-06 00:42:14 (GMT) |
commit | bb30af456597e08cdcb1ba55779745dbcc7d74b9 (patch) | |
tree | 70b8081bcf443ac57c0488c4a9c51032d590e6ea /Doc/lib | |
parent | 18c69609648a13f4ff8ddc01fb4db63c3d537e42 (diff) | |
download | cpython-bb30af456597e08cdcb1ba55779745dbcc7d74b9.zip cpython-bb30af456597e08cdcb1ba55779745dbcc7d74b9.tar.gz cpython-bb30af456597e08cdcb1ba55779745dbcc7d74b9.tar.bz2 |
Add missing close parenthesis.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libstdtypes.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index 2f54cae..b531b61 100644 --- a/Doc/lib/libstdtypes.tex +++ b/Doc/lib/libstdtypes.tex @@ -755,16 +755,16 @@ elements). If \var{maxsplit} is not specified or is zero, then there is no limit on the number of splits (all possible splits are made). Consecutive delimiters are not grouped together and are deemed to delimit empty strings (for example, \samp{'1,,2'.split(',')} -returns \samp{['1', '', '2']}. The \var{sep} argument may consist of +returns \samp{['1', '', '2']}). The \var{sep} argument may consist of multiple characters (for example, \samp{'1, 2, 3'.split(', ')} returns -\samp{['1', '2', '3']}. Splitting an empty string with a specified +\samp{['1', '2', '3']}). Splitting an empty string with a specified separator returns an empty list. If \var{sep} is not specified or is \code{None}, a different splitting algorithm is applied. Words are separated by arbitrary length strings of whitespace characters (spaces, tabs, newlines, returns, and formfeeds). Consecutive whitespace delimiters are treated as a single delimiter -(\samp{'1 2 3'.split()} returns \samp{['1', '2', '3']}. Splitting an +(\samp{'1 2 3'.split()} returns \samp{['1', '2', '3']}). Splitting an empty string returns \samp{['']}. \end{methoddesc} |