MCPcopy Create free account
hub / github.com/SplootCode/splootcode / generateTuple

Function generateTuple

python/text_generator.py:50–53  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

48 return ast.List(els, ast.Load())
49
50def generateTuple(node):
51 els = [generateAstExpression(el) for el in node['childSets']['elements']]
52 els = [el for el in els if el is not None]
53 return ast.Tuple(els, ast.Load())
54
55def generateSet(node):
56 els = [generateAstExpression(el) for el in node['childSets']['elements']]

Callers 1

Calls 1

generateAstExpressionFunction · 0.70

Tested by

no test coverage detected