On Sun, Sep 26, 2010 at 9:07 AM, TP <tribulati...@paralleles.invalid> wrote: > Hi everybody, > > Today I have learned a bit of the news of Python 3.0 compared to 2.4 > version. > > By the way, I have asked myself if it is possible to add a method to a > builtin type
The built-in types' classes are immutable; you can only add/override their methods via subclassing, like you showed. Cheers, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list