MCPcopy Create free account
hub / github.com/ipython/ipython / _mirror_name

Method _mirror_name

IPython/utils/shimmodule.py:26–29  ·  view source on GitHub ↗

get the name of the mirrored module

(self, fullname)

Source from the content-addressed store, hash-verified

24 self.mirror = mirror
25
26 def _mirror_name(self, fullname):
27 """get the name of the mirrored module"""
28
29 return self.mirror + fullname[len(self.src):]
30
31 def find_module(self, fullname, path=None):
32 """Return self if we should be used to import the module."""

Callers 2

find_moduleMethod · 0.95
load_moduleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected