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

Method visit_Rhs

Tools/peg_generator/pegen/python_generator.py:60–61  ·  view source on GitHub ↗
(self, node: Rhs)

Source from the content-addressed store, hash-verified

58 return self.visit(node.item)
59
60 def visit_Rhs(self, node: Rhs) -> bool:
61 return any(self.visit(alt) for alt in node.alts)
62
63 def visit_Alt(self, node: Alt) -> bool:
64 return any(self.visit(item) for item in node.items)

Callers

nothing calls this directly

Calls 2

anyFunction · 0.50
visitMethod · 0.45

Tested by

no test coverage detected