En Thu, 12 May 2011 22:59:24 -0300, Gabriel Genellina
escribió:
En Thu, 12 May 2011 20:29:57 -0300, Aman Nijhawan
escribió:
I was trying to call the builtin function min by using
getattr(__builtins__,'min')
This works at the interpretter prompt
However when I called it inside a module
En Thu, 12 May 2011 20:29:57 -0300, Aman Nijhawan
escribió:
I was trying to call the builtin function min by using
getattr(__builtins__,'min')
This works at the interpretter prompt
However when I called it inside a module that was imported by another
module
it fails and gives an attribut