MCPcopy Index your code
hub / github.com/python/cpython / get_module

Method get_module

Lib/test/libregrtest/save_env.py:78–80  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

76 )
77
78 def get_module(self, name):
79 # function for restore() methods
80 return sys.modules[name]
81
82 def try_get_module(self, name):
83 # function for get() methods

Calls

no outgoing calls

Tested by

no test coverage detected