From f814da692f9747ba48fef5df80cbb01607647c49 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 23 Dec 2008 10:42:06 +0100 Subject: [PATCH] fix error message --- 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 b4ef5fd2..50856a3f 100644 --- a/Cython/Compiler/Visitor.py +++ b/Cython/Compiler/Visitor.py @@ -38,7 +38,7 @@ class BasicVisitor(object): print self.access_path print self.access_path[-1][0].pos print self.access_path[-1][0].__dict__ - raise RuntimeError("Visitor does not accept object: %s" % obj) + raise RuntimeError("Visitor does not accept object: %s" % (obj,)) #print "Caching " + cls.__name__ self.dispatch_table[cls] = handler_method return handler_method(obj) -- 2.26.2