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

Method get_parameters

Lib/symtable.py:193–198  ·  view source on GitHub ↗

Return a tuple of parameters to the function.

(self)

Source from the content-addressed store, hash-verified

191 if test_func(self._table.symbols[ident]))
192
193 def get_parameters(self):
194 """Return a tuple of parameters to the function.
195 """
196 if self.__params is None:
197 self.__params = self.__idents_matching(lambda x:x & DEF_PARAM)
198 return self.__params
199
200 def get_locals(self):
201 """Return a tuple of locals in the function.

Callers 1

test_function_infoMethod · 0.80

Calls 1

__idents_matchingMethod · 0.95

Tested by 1

test_function_infoMethod · 0.64