Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_NameLeaf
Method · 0.80
generate
Method · 0.80
_handle_default_rule_body
Method · 0.80
_handle_loop_rule_body
Method · 0.80
visit_Rule
Method · 0.80
visit_Rule
Method · 0.80
Calls
1
startswith
Method · 0.45
Tested by
no test coverage detected