Why instancemethod when I can add functions to classes outside class body?

Martin v. Löwis martin at v.loewis.de
Fri Jul 25 01:18:15 EDT 2003


rimbalaya at yahoo.com (Rim) writes:

> So what problem is the new.instancemethod() trying to solve?

It has no side effects on the class it is an instancemethod of.

Regards,
Martin




More information about the Python-list mailing list