MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / whichmodule

Function whichmodule

Lib/pickle.py:799–822  ·  view source on GitHub ↗

Figure out the module in which a function occurs. Search sys.modules for the module. Cache in classmap. Return a module name. If the function cannot be found, return "__main__".

(func, funcname)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

save_globalMethod · 0.70

Calls 2

getattrFunction · 0.85
itemsMethod · 0.45

Tested by

no test coverage detected