subclassing str

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Tue Nov 9 03:18:31 CET 2010

In message <5dLBo.1024$w8.406 at>, not1xor1 (Alessandro) 

> I'm already using plain functions, but thought that wrapping most of
> them in a str subclass would let me save some time and yield cleaner
> and more manageable code

How exactly does

   a.f(b, c)

save time over

    f(a, b, c)


More information about the Python-list mailing list