Making Non Callable Objects Callable

exiquio exiquio at gmail.com
Tue Oct 7 19:35:46 CEST 2008


I am trying to figure out if there is a way to make an object in
python callable, modules in particular. I wrongly assume that defining
'__call__' in the the objects __dict__ would work. Any help would be
appreciated.



More information about the Python-list mailing list