How to wrap a class's methods?
Grant Edwards
grante at visi.com
Thu Feb 17 16:12:56 EST 2005
On 2005-02-17, Michael Spencer <mahs at telcopartners.com> wrote:
>> Thanks. The stuff provided by the "new" module is what I was
>> missing.
>
> No magic in the 'new' module - new.instancemethod is just a synonym for the
> method type:
>
> >>> import new, types
> >>> new.instancemethod is types.MethodType
> True
Thanks -- I didn't know that either.
--
Grant Edwards grante Yow! I joined scientology
at at a garage sale!!
visi.com
More information about the Python-list
mailing list