summaryrefslogtreecommitdiff
path: root/rebuilder.py
diff options
context:
space:
mode:
Diffstat (limited to 'rebuilder.py')
-rw-r--r--rebuilder.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rebuilder.py b/rebuilder.py
index 5e2ed99f..01bb2045 100644
--- a/rebuilder.py
+++ b/rebuilder.py
@@ -879,6 +879,8 @@ class TreeRebuilder3k(TreeRebuilder):
newnode.set_line_info(newnode.last_child())
return newnode
+ def visit_yieldfrom(self, node, parent):
+ return self.visit_yield(node, parent)
if sys.version_info >= (3, 0):
TreeRebuilder = TreeRebuilder3k