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

Function iterableLogExpressionResultAndStartFrame

python/executor.py:525–530  ·  view source on GitHub ↗
(nodeType, childset, iterable)

Source from the content-addressed store, hash-verified

523 return ast.Call(func, args=args, keywords=[])
524
525def iterableLogExpressionResultAndStartFrame(nodeType, childset, iterable):
526 mapFunc = ast.Lambda(
527 ast.arguments(posonlyargs=[], args=[ast.arg('x')], kwonlyargs=[], kw_defaults=[], defaults=[]),
528 logExpressionResultAndStartFrame(nodeType, childset, ast.Name('x', ctx=ast.Load())))
529
530 return ast.Call(ast.Name('map', ast.Load()), args=[mapFunc, iterable], keywords=[])
531
532def endFrame():
533 key = ast.Name(id=SPLOOT_KEY, ctx=ast.Load())

Callers 1

generateForStatementFunction · 0.85

Calls 1

Tested by

no test coverage detected