projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7d1eb1
)
fix error message
author
Stefan Behnel
<scoder@users.berlios.de>
Tue, 23 Dec 2008 09:42:06 +0000
(10:42 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Tue, 23 Dec 2008 09:42:06 +0000
(10:42 +0100)
Cython/Compiler/Visitor.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Visitor.py
b/Cython/Compiler/Visitor.py
index b4ef5fd2ef1086f44df28c749172ede5b0c032ad..50856a3fabca59c5cb193bc3aae71045bf040b5e 100644
(file)
--- 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)