A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-February/042667.html below:

[Python-Dev] string.split

[Python-Dev] string.split [Python-Dev] string.splitSjoerd 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4