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

Class Forced

Tools/peg_generator/pegen/grammar.py:202–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200
201
202class Forced:
203 def __init__(self, node: Plain):
204 self.node = node
205
206 def __str__(self) -> str:
207 return f"&&{self.node}"
208
209 def __iter__(self) -> Iterator[Plain]:
210 yield self.node
211
212
213class Lookahead:

Callers 1

forced_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…