Adding method to a class on the fly

James Stroud jstroud at mbi.ucla.edu
Fri Jun 22 21:36:40 EDT 2007


7stud wrote:
> 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.
> 

Which were contradictory.



More information about the Python-list mailing list