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

Method __idents_matching

Lib/symtable.py:189–191  ·  view source on GitHub ↗
(self, test_func)

Source from the content-addressed store, hash-verified

187 __cells = None
188
189 def __idents_matching(self, test_func):
190 return tuple(ident for ident in self.get_identifiers()
191 if test_func(self._table.symbols[ident]))
192
193 def get_parameters(self):
194 """Return a tuple of parameters to the function.

Callers 6

get_parametersMethod · 0.95
get_localsMethod · 0.95
get_globalsMethod · 0.95
get_nonlocalsMethod · 0.95
get_freesMethod · 0.95
get_cellsMethod · 0.95

Calls 2

test_funcClass · 0.50
get_identifiersMethod · 0.45

Tested by

no test coverage detected