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.
function.func_globals
#TODO
#TODO
>>> def foo(): pass
...
>>> foo.func_globals #returns a lengthy dictionary#TODO