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

Method has_option_groups

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

Source from the content-addressed store, hash-verified

297 return self.func.kind.new_or_init
298
299 def has_option_groups(self) -> bool:
300 return (bool(self.parameters
301 and (self.parameters[0].group or self.parameters[-1].group)))
302
303 def use_meth_o(self) -> bool:
304 return (len(self.parameters) == 1

Callers 1

parse_argsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected