MCPcopy Index your code
hub / github.com/RustPython/RustPython / exec_module

Method exec_module

Lib/test/test_pkgutil.py:365–367  ·  view source on GitHub ↗
(self, mod)

Source from the content-addressed store, hash-verified

363 return None
364
365 def exec_module(self, mod):
366 # Count how many times the module is reloaded
367 mod.__dict__['loads'] = mod.__dict__.get('loads', 0) + 1
368
369 def get_data(self, path):
370 return "Hello, world!"

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected