Commit 1b7c3ff4 authored by eckhart's avatar eckhart
Browse files

small adjustments in

parent a747abd0
......@@ -738,7 +738,7 @@ def remove_children_if(context: List[Node], condition: Callable):
node = context[-1]
if node.children:
node.result = tuple(c for c in node.children if not condition(context + [c]))
# @transformation_factory(Callable)
# def remove_children(context: List[Node],
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment