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

Method is_keyword_only

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

Source from the content-addressed store, hash-verified

215 return f'<clinic.Parameter {self.name!r}>'
216
217 def is_keyword_only(self) -> bool:
218 return self.kind == inspect.Parameter.KEYWORD_ONLY
219
220 def is_positional_only(self) -> bool:
221 return self.kind == inspect.Parameter.POSITIONAL_ONLY

Callers 6

parse_parameterMethod · 0.95
_render_non_selfMethod · 0.80
declare_parserFunction · 0.80
__init__Method · 0.80
init_limited_capiMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected