[Python-Dev] partition() (was: Remove str.find in 3.0?)
Jason Orendorff
jason.orendorff at gmail.com
Tue Aug 30 15:51:13 CEST 2005
Concerning names for partition(), I immediately thought of break().
Unfortunately it's taken.
So, how about snap()?
head, sep, tail = line.snap(':')
-j
More information about the Python-Dev
mailing list