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

Method is_variable_length

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

Source from the content-addressed store, hash-verified

230 return self.kind == inspect.Parameter.VAR_KEYWORD
231
232 def is_variable_length(self) -> bool:
233 return self.is_vararg() or self.is_var_keyword()
234
235 def is_optional(self) -> bool:
236 return not self.is_vararg() and (self.default is not unspecified)

Callers 2

_render_non_selfMethod · 0.80

Calls 2

is_varargMethod · 0.95
is_var_keywordMethod · 0.95

Tested by

no test coverage detected