func_globals¶
Description¶
Returns a reference to the dictionary that holds the function’s global variables — the global namespace of the module in which the function was defined.
Syntax¶
function.func_globals
Return Value¶
#TODO
Time Complexity¶
#TODO
Remarks¶
Example¶
>>> def foo(): pass
...
>>> foo.func_globals #returns a lengthy dictionary
See Also¶
#TODO