projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f69387
)
better error output
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 8 May 2010 20:23:17 +0000
(22:23 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 8 May 2010 20:23:17 +0000
(22:23 +0200)
Cython/Compiler/Visitor.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Visitor.py
b/Cython/Compiler/Visitor.py
index d3e757f1b3eeec40e4b1e60ec45fae3fae17eb6a..8cd0f001da9fd88d340d5b560be689a696a05ab9 100644
(file)
--- a/
Cython/Compiler/Visitor.py
+++ b/
Cython/Compiler/Visitor.py
@@
-46,7
+46,7
@@
class BasicVisitor(object):
if 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
%r does not accept object: %s" % (self, obj)
)
#print "Caching " + cls.__name__
return handler_method