MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / load_module

Method load_module

site-packages/extensionsimporter.py:44–52  ·  view source on GitHub ↗
(self, fullname)

Source from the content-addressed store, hash-verified

42 return
43
44 def load_module(self, fullname):
45 f = '__' + fullname.replace('.', '_')
46 mod = sys.modules.get(f)
47 if mod is None:
48 mod = importlib.__import__(f)
49 sys.modules[fullname] = mod
50 return mod
51
52 return mod
53
54class PandasImporter(object):
55 def find_module(self, fullname, mpath=None):

Callers

nothing calls this directly

Calls 2

replaceMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected