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

Class Gather

Tools/peg_generator/pegen/grammar.py:296–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294
295
296class Gather(Repeat):
297 def __init__(self, separator: Plain, node: Plain):
298 self.separator = separator
299 self.node = node
300
301 def __str__(self) -> str:
302 return f"{self.separator!s}.{self.node!s}+"
303
304 def __repr__(self) -> str:
305 return f"Gather({self.separator!r}, {self.node!r})"
306
307
308class Group:

Callers 1

itemMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…