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

Method __getattr__

Lib/annotationlib.py:471–472  ·  view source on GitHub ↗
(self, attr)

Source from the content-addressed store, hash-verified

469 return self.__make_new(ast.Subscript(self.__get_ast(), other), extra_names)
470
471 def __getattr__(self, attr):
472 return self.__make_new(ast.Attribute(self.__get_ast(), attr))
473
474 def __call__(self, *args, **kwargs):
475 extra_names = {}

Callers

nothing calls this directly

Calls 2

__make_newMethod · 0.95
__get_astMethod · 0.95

Tested by

no test coverage detected