Adding method to a class on the fly

7stud bbxx789_05ss at yahoo.com
Fri Jun 22 17:28:37 EDT 2007


On Jun 22, 3:23 pm, askel <dummy... at mail.ru> wrote:
> sorry, of course last line should be:
> Dummy().method2('Hello, world!')

..which doesn't meet the op's requirements.




More information about the Python-list mailing list