MCPcopy Index your code
hub / github.com/python/cpython / __getattr__

Method __getattr__

Lib/test/test_interpreters/utils.py:324–328  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

322 self._finish()
323 return len(self._final)
324 def __getattr__(self, name):
325 self._finish()
326 if name.startswith('_'):
327 raise AttributeError(name)
328 return getattr(self._final, name)
329
330 def raise_if_failed(self):
331 if self.exc is not None:

Callers

nothing calls this directly

Calls 2

_finishMethod · 0.95
startswithMethod · 0.45

Tested by

no test coverage detected