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

Method _parse_vararg

Tools/clinic/libclinic/parse_args.py:474–482  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

472 self.parser_body(parser_code)
473
474 def _parse_vararg(self) -> str:
475 assert self.varpos is not None
476 c = self.varpos.converter
477 assert isinstance(c, libclinic.converters.VarPosCConverter)
478 return c.parse_vararg(pos_only=self.pos_only,
479 min_pos=self.min_pos,
480 max_pos=self.max_pos,
481 fastcall=self.fastcall,
482 limited_capi=self.limited_capi)
483
484 def _parse_kwarg(self) -> str:
485 assert self.var_keyword is not None

Callers 3

parse_pos_onlyMethod · 0.95
parse_var_keywordMethod · 0.95
parse_generalMethod · 0.95

Calls 1

parse_varargMethod · 0.45

Tested by

no test coverage detected