From: Stefan Behnel Date: Tue, 23 Dec 2008 09:42:06 +0000 (+0100) Subject: fix error message X-Git-Tag: 0.11-beta~83 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f814da692f9747ba48fef5df80cbb01607647c49;p=cython.git fix error message --- 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)