[Python-Dev] Bug 911080, string split oddness

Jeff Epler jepler at unpythonic.net
Sat Mar 6 18:21:21 EST 2004


I glanced at the bug report.  Do you have a suggested wording?
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]

As for splitfields() maybe it should juts be marked for deprecation.  It
doesn't exist as a string method, for one thing, just in the string
module.  Here's the current implementation (in string.py):
    splitfields = split

Jeff



More information about the Python-Dev mailing list