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

Class Group

Tools/peg_generator/pegen/grammar.py:308–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306
307
308class Group:
309 def __init__(self, rhs: Rhs):
310 self.rhs = rhs
311
312 def __str__(self) -> str:
313 return f"({self.rhs})"
314
315 def __repr__(self) -> str:
316 return f"Group({self.rhs!r})"
317
318 def __iter__(self) -> Iterator[Rhs]:
319 yield self.rhs
320
321
322class Cut:

Callers 1

atomMethod · 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…