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

Method is_gather

Tools/peg_generator/pegen/grammar.py:72–73  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

70 return self.name.startswith("_loop")
71
72 def is_gather(self) -> bool:
73 return self.name.startswith("_gather")
74
75 def __str__(self) -> str:
76 if SIMPLE_STR or self.type is None:

Callers 6

visit_NameLeafMethod · 0.80
generateMethod · 0.80
visit_RuleMethod · 0.80
visit_RuleMethod · 0.80

Calls 1

startswithMethod · 0.45

Tested by

no test coverage detected