From: Georg Brandl Date: Thu, 1 Nov 2007 20:37:02 +0000 (+0000) Subject: Fix markup glitch. X-Git-Tag: v2.6a1~1104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=744b32a544bae1bd4e40730802103ae823f3c673;p=python Fix markup glitch. --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index a191ab4e00..2a6a973750 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -938,7 +938,7 @@ string functions based on regular expressions. specified, 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 + If *sep* is given, consecutive delimiters are not grouped together and are deemed to delimit empty strings (for example, ``'1,,2'.split(',')`` returns ``['1', '', '2']``). The *sep* argument may consist of multiple characters (for example, ``'1<>2<>3'.split('<>')`` returns ``['1', '2', '3']``).