No subject

John Posner jjposner at
Thu Oct 22 23:31:56 CEST 2009

Mensanator wrote:
> That's interesting. If string.splitfields(delim) was equivalent to
> str.split(sep), it would have been useful to add the phrase
> "str.split(sep) is equivalent to the old string.splitfields(delim)
> which no longer exists." to the docs. That way, a search on
> "splitfields" would direct the user to str.split(sep) rather than
> simply throw a dialog box saying "No topics found". No one ever
> considers making life easy for the user.

I'm not sure what Python documentation you're consulting. I have Python 
2.6.3rc1 on Windows XP. I launched the ...\doc\python263c1.chm help 
file, and searched for "splitfields". Here's what I got:

  string.splitfields(/s/[, /sep/[, /maxsplit/]])
    This function behaves identically to split() <#string.split>. (In
    the past, split() <#string.split> was only used with one argument,
    while splitfields() <#string.splitfields> was only used with two


More information about the Python-list mailing list