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

Anthony Baxter anthony at interlink.com.au
Tue Aug 30 04:09:16 CEST 2005


On Tuesday 30 August 2005 11:26, Raymond Hettinger wrote:
> > My major issue is with the names - partition() doesn't sound right to
> > me.
>
> FWIW, I am VERY happy with the name partition().  

I'm +1 on the functionality, and +1 on the name partition(). The only other
name that comes to mind is 'separate()', but 
a) I always spell it 'seperate' (and I don't need another lamdba <wink>)
b) It's too similar in name to 'split()'

Anthony

-- 
Anthony Baxter     <anthony at interlink.com.au>
It's never too late to have a happy childhood.


More information about the Python-Dev mailing list