Why does Python mix OO concepts and non OO concepts for operation s on basic types?

holger krekel pyth at devel.trillke.net
Tue Jun 11 16:28:44 EDT 2002


Roman Suzi wrote:
> I only forgot how will I do this:
> 
> map(string.split, s)
> 
> if GvR will deprecate string module...

what about

    map(str.split, s) 

:-) holger





More information about the Python-list mailing list