Commit 13acb506 authored by Stefan Behnel's avatar Stefan Behnel

removed dead code

parent 43f3d87d
......@@ -488,11 +488,6 @@ def recursively_replace_node(tree, old_node, new_node):
# Utils
def ensure_statlist(node):
if not isinstance(node, Nodes.StatListNode):
node = Nodes.StatListNode(pos=node.pos, stats=[node])
return node
def replace_node(ptr, value):
"""Replaces a node. ptr is of the form used on the access path stack
(parent, attrname, listidx|None)
......
Markdown is supported
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