Using Pool map with a method of a class and a list

Luca Cerone luca.cerone at gmail.com
Wed Aug 7 19:31:54 EDT 2013


Thanks for the help Peter!

> 
> 
> 
> >> def make_instancemethod(inst, methodname):
> 
> >>     return getattr(inst, methodname)
> 
> > 
> 
> > This is just getattr -- you can replace the two uses of
> 
> > make_instancemethod with getattr and delete this ;).
> 
> 
> 
> D'oh ;)




More information about the Python-list mailing list