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

Method get_symbols

Lib/symtable.py:157–161  ·  view source on GitHub ↗

Return a list of *Symbol* instances for names in the table.

(self)

Source from the content-addressed store, hash-verified

155 return sym
156
157 def get_symbols(self):
158 """Return a list of *Symbol* instances for
159 names in the table.
160 """
161 return [self.lookup(ident) for ident in self.get_identifiers()]
162
163 def __check_children(self, name):
164 return [_newSymbolTable(st, self._filename)

Callers 1

test_symbol_lookupMethod · 0.80

Calls 2

lookupMethod · 0.95
get_identifiersMethod · 0.95

Tested by 1

test_symbol_lookupMethod · 0.64