[Python-Dev] partition() (was: Remove str.find in 3.0?)
Charles Cazabon
python at discworld.dyndns.org
Tue Aug 30 16:36:07 CEST 2005
Jason Orendorff <jason.orendorff at gmail.com> wrote:
> Concerning names for partition(), I immediately thought of break().
> Unfortunately it's taken.
>
> So, how about snap()?
I like .part()/.rpart() (or failing that, .parts()/.rparts()). But if you
really want something short that's similar in meaning, there's also .cut().
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <python at discworld.dyndns.org>
GPL'ed software available at: http://pyropus.ca/software/
-----------------------------------------------------------------------
More information about the Python-Dev
mailing list