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

Method __spec__

IPython/utils/shimmodule.py:72–74  ·  view source on GitHub ↗

Don't produce __spec__ until requested

(self)

Source from the content-addressed store, hash-verified

70
71 @property
72 def __spec__(self):
73 """Don't produce __spec__ until requested"""
74 return import_module(self._mirror).__spec__
75
76 def __dir__(self):
77 return dir(import_module(self._mirror))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected