[Python-Dev] partition() (was: Remove str.find in 3.0?)

skip@pobox.com skip at pobox.com
Tue Aug 30 19:30:26 CEST 2005


    In fact, re.split with a grouped re is very much like Raymond's
    str.partition method without the guarantee of returning a three-element
    list.

Whoops...  Should also have included the maxsplit=1 constraint.

Skip


More information about the Python-Dev mailing list