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

Method is_positional_only

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

Source from the content-addressed store, hash-verified

218 return self.kind == inspect.Parameter.KEYWORD_ONLY
219
220 def is_positional_only(self) -> bool:
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

Callers 6

get_displaynameMethod · 0.95
_render_non_selfMethod · 0.80
__init__Method · 0.80
use_meth_oMethod · 0.80
render_functionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected