replacement for new.instancemethod in Python3?

skip at pobox.com skip at pobox.com
Sun Apr 5 08:02:08 EDT 2009


Is there a replacement in Python3 for new.instancemethod?  That is, given an
arbitrary instance (not its class) how can I add a new appropriately defined
function as a method to it?

Thx,

-- 
Skip Montanaro - skip at pobox.com - http://www.smontanaro.net/
        "XML sucks, dictionaries rock" - Dave Beazley



More information about the Python-list mailing list