"Luke" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Built-in functions don't bind to classes like regular functions. Is > this intended? (I do notice that the Python Reference Manual sec 3.2 > under "Class Instance" refers to a "user-defined function"). Any ideas > what the reason is for this distinction between build-in functions and > normal functions? >
no, but does this help... >>> class Test: ... c = classmethod(abs) ... >>> obj = Test() >>> obj.c <bound method classobj.abs of <class __main__.Test at 0x00B2C060>> >>> Emile -- http://mail.python.org/mailman/listinfo/python-list
