subclassing str

not1xor1 (Alessandro) " " at libero.it
Thu Nov 11 05:14:05 CET 2010


Il 09/11/2010 03:18, Lawrence D'Oliveiro ha scritto:

> How exactly does
>
>     a.f(b, c)
>
> save time over
>
>      f(a, b, c)

unfortunately in real world you have:

objId = objId.method(args)

vs.

objId = moduleName.method(objId, args)

I know you can use "from moduleName import *", but IMHO that produces 
code much harder to manage and extend
-- 
bye
!(!1|1)



More information about the Python-list mailing list