MCPcopy Create free account
hub / github.com/python/cpython / is_positional_or_keyword

Method is_positional_or_keyword

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

Source from the content-addressed store, hash-verified

221 return self.kind == inspect.Parameter.POSITIONAL_ONLY
222
223 def is_positional_or_keyword(self) -> bool:
224 return self.kind == inspect.Parameter.POSITIONAL_OR_KEYWORD
225
226 def is_vararg(self) -> bool:
227 return self.kind == inspect.Parameter.VAR_POSITIONAL

Callers 2

parse_parameterMethod · 0.95
declare_parserFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected