Greg Ewing wrote: > Jeff Epler <jepler at unpythonic.net>: > > >>I think the current version documentation intends to explain the >>no-argument form with this sentence: >> If sep is not specified or None, any whitespace string is a separator. >> [http://python.org/doc/current/lib/string-methods.html#l2h-197] > > > I'm inclined to agree with Pete Shinners that the above > explanation is perhaps a little too compressed. > > Maybe "any string of consecutive whitespace characters is a > separator". Perhaps with an explicit note that this is NOT > equivalent to .split(" \t\n") and the reason why. > > Pete Shinners <pete at shinners.org>: See the existing bug report #901654 which is specifically about the split documentation. Please add to that. -- 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