Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstdtypes.tex @ 33412:c09318b0090d legacy-trunk
Add missing close parenthesis.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Mon, 06 Sep 2004 00:42:14 +0000 |
| parents | 136b388569a0 |
| children | 5570fae1f01c |
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex Mon Sep 06 00:12:04 2004 +0000 +++ b/Doc/lib/libstdtypes.tex Mon Sep 06 00:42:14 2004 +0000 @@ -755,16 +755,16 @@ 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}
