Wrapping float

Sybren Stuvel sybrenUSE at YOURthirdtower.com.imagination
Sat Sep 17 06:41:24 EDT 2005


Bengt Richter enlightened us with:
> Float is an immutable, so you need to override __new__

Thanks, that works!

Sybren
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa



More information about the Python-list mailing list