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

Method __get_ast

Lib/annotationlib.py:424–428  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

422 return self.__convert_to_ast(other)
423
424 def __get_ast(self):
425 node = self.__ast_node__
426 if isinstance(node, str):
427 return ast.Name(id=node)
428 return node
429
430 def __make_new(self, node, extra_names=None):
431 new_extra_names = {}

Callers 8

__getitem__Method · 0.95
__getattr__Method · 0.95
__call__Method · 0.95
__iter__Method · 0.95
binopMethod · 0.95
rbinopMethod · 0.95
compareMethod · 0.95
unary_opMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected