[Python-Dev] string.split
Sjoerd Mullender
sjoerd at acm.org
Sat Feb 21 04:24:36 EST 2004
Raymond Hettinger wrote:
>>Andreas Beyer wrote:
>>
>>>I think there are different interpretations of what a separator is.
>
> That
>
>>>is not necessarily a bug, because without stripping a new-line at
>
> the
>
>>>end of the string would yield a non-intuitive result list. However,
>
> the
>
>>>difference between split with and without the 'sep' argument should
>
> be
>
>>>documented.
>
>
> [Sjoerd Mullender]
>
>>This is intended behavior and is not going to be changed.
>>
>>However, I must agree that the documentation for the string method is
>>somewhat lacking. The documentation of the split function in the
>
> string
>
>>module is much clearer.
>
>
> If you copy your note into SourceForge and assign it to me, you will
> substantially increase the odds that I will fix the docs in the next few
> days.
Done. Bug # 901654.
--
Sjoerd Mullender <sjoerd at acm.org>
More information about the Python-Dev
mailing list