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

Method __init__

IPython/core/tests/test_completer.py:127–130  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

125
126class NamedInstanceClass(metaclass=NamedInstanceMetaclass):
127 def __init__(self, name):
128 if not hasattr(self.__class__, "instances"):
129 self.__class__.instances = {}
130 self.__class__.instances[name] = self
131
132 @classmethod
133 def _ipython_key_completions_(cls):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected