From d4cc195b05243be776eb40464a61d4fc376728ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sylvain=20Th=C3=A9nault?= Date: Wed, 27 Mar 2013 16:25:20 +0100 Subject: [py3.3] don't crash on 'yield from' nodes. Closes #124360 --HG-- branch : stable --- rebuilder.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rebuilder.py') 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 -- cgit v1.2.1