From fc08e8bfd6131acf64f79a89078019ba8b6f507b Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 27 Nov 2012 07:07:07 +0100 Subject: [PATCH] fix PrintTree() debug helper for compiled Cython --- Cython/Compiler/Visitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/Visitor.py b/Cython/Compiler/Visitor.py index c9d8bae..f30127f 100644 --- a/Cython/Compiler/Visitor.py +++ b/Cython/Compiler/Visitor.py @@ -519,7 +519,7 @@ class PrintTree(TreeVisitor): def __call__(self, tree, phase=None): print("Parse tree dump at phase '%s'" % phase) - self._visit(tree) + self.visit(tree) return tree # Don't do anything about process_list, the defaults gives -- 2.7.4