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

Method visit_NamedItem

Tools/peg_generator/pegen/c_generator.py:211–217  ·  view source on GitHub ↗
(self, node: NamedItem)

Source from the content-addressed store, hash-verified

209 )
210
211 def visit_NamedItem(self, node: NamedItem) -> FunctionCall:
212 call = self.generate_call(node.item)
213 if node.name:
214 call.assigned_variable = node.name
215 if node.type:
216 call.assigned_variable_type = node.type
217 return call
218
219 def assert_no_undefined_behavior(
220 self, call: FunctionCall, wrapper: str, expected_rtype: str | None,

Callers

nothing calls this directly

Calls 1

generate_callMethod · 0.95

Tested by

no test coverage detected