Does python have an internal list/dictionary of functions?

Raymond Hettinger python at rcn.com
Thu Feb 16 12:51:45 EST 2006


[Carl J. Van Arsdall]
> basically we have:
>
>  >>>def functA():
> ...  pass
>
>  >>> functA
> <function functA at 80db128>
>
> And what I'd like to do is:
>
>  >>>__internalFuncDict__['functA']
> <function functA at 80db128>

globals()['functA']




More information about the Python-list mailing list