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

Method check_previous_star

Tools/clinic/libclinic/dsl_parser.py:1616–1620  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1614 f"without following parameters.", line_number=lineno)
1615
1616 def check_previous_star(self) -> None:
1617 assert isinstance(self.function, Function)
1618
1619 if self.keyword_only:
1620 fail(f"Function {self.function.name!r} uses '*' more than once.")
1621
1622
1623 def do_post_block_processing_cleanup(self, lineno: int) -> None:

Callers 2

parse_parameterMethod · 0.95
parse_starMethod · 0.95

Calls 1

failFunction · 0.90

Tested by

no test coverage detected