MCPcopy Index your code
hub / github.com/ipython/ipython / find_spec

Method find_spec

IPython/external/qt_loaders.py:64–74  ·  view source on GitHub ↗
(self, fullname, path, target=None)

Source from the content-addressed store, hash-verified

62 self.__forbidden.add(module_name)
63
64 def find_spec(self, fullname, path, target=None):
65 if path:
66 return
67 if fullname in self.__forbidden:
68 raise ImportError(
69 """
70 Importing %s disabled by IPython, which has
71 already imported an Incompatible QT Binding: %s
72 """
73 % (fullname, loaded_api())
74 )
75
76
77ID = ImportDenier()

Callers 1

find_modFunction · 0.45

Calls 1

loaded_apiFunction · 0.85

Tested by

no test coverage detected