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

Method is_vararg

Tools/clinic/libclinic/function.py:226–227  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

224 return self.kind == inspect.Parameter.POSITIONAL_OR_KEYWORD
225
226 def is_vararg(self) -> bool:
227 return self.kind == inspect.Parameter.VAR_POSITIONAL
228
229 def is_var_keyword(self) -> bool:
230 return self.kind == inspect.Parameter.VAR_KEYWORD

Callers 4

is_variable_lengthMethod · 0.95
is_optionalMethod · 0.95
__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected