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>
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