MCPcopy Index your code
hub / github.com/RustPython/RustPython / get_parameters

Method get_parameters

Lib/symtable.py:192–197  ·  view source on GitHub ↗

Return a tuple of parameters to the function.

(self)

Source from the content-addressed store, hash-verified

190 if test_func(self._table.symbols[ident]))
191
192 def get_parameters(self):
193 """Return a tuple of parameters to the function.
194 """
195 if self.__params is None:
196 self.__params = self.__idents_matching(lambda x:x & DEF_PARAM)
197 return self.__params
198
199 def get_locals(self):
200 """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