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

Method visit_Cut

Tools/peg_generator/pegen/c_generator.py:366–372  ·  view source on GitHub ↗
(self, node: Cut)

Source from the content-addressed store, hash-verified

364 return self.generate_call(node.rhs)
365
366 def visit_Cut(self, node: Cut) -> FunctionCall:
367 return FunctionCall(
368 assigned_variable="_cut_var",
369 return_type="int",
370 function="1",
371 nodetype=NodeTypes.CUT_OPERATOR,
372 )
373
374 def generate_call(self, node: Any) -> FunctionCall:
375 return super().visit(node)

Callers

nothing calls this directly

Calls 1

FunctionCallClass · 0.85

Tested by

no test coverage detected