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

Method visitSum

Parser/asdl_c.py:248–251  ·  view source on GitHub ↗
(self, sum, name, depth)

Source from the content-addressed store, hash-verified

246 self.visit(type.value, type.name, depth)
247
248 def visitSum(self, sum, name, depth):
249 if is_simple(sum):
250 return
251 self.emit_sequence_constructor(name, depth)
252
253 def emit_sequence_constructor(self, name,depth):
254 ctype = get_c_type(name)

Callers

nothing calls this directly

Calls 2

is_simpleFunction · 0.85

Tested by

no test coverage detected