MCPcopy Create free account
hub / github.com/bpython/bpython / __getattr__

Method __getattr__

bpython/curtsiesfrontend/repl.py:285–288  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

283 self.finder = finder
284
285 def __getattr__(self, name):
286 if name == "find_spec" and hasattr(self.finder, name):
287 return self._find_spec
288 return getattr(self.finder, name)
289
290 def _find_spec(self, fullname, path, target=None):
291 # Attempt to find the spec

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected