projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ecff99
)
print size of list attributes on node dump
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 10 Jan 2009 16:58:38 +0000
(17:58 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 10 Jan 2009 16:58:38 +0000
(17:58 +0100)
Cython/Compiler/Visitor.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Visitor.py
b/Cython/Compiler/Visitor.py
index 7e2e2e0f6cfac8cbed918a049d979eeca5ba0a2b..102c5b0544b0b2db525413afdcb28652be0873cd 100644
(file)
--- a/
Cython/Compiler/Visitor.py
+++ b/
Cython/Compiler/Visitor.py
@@
-117,7
+117,7
@@
class TreeVisitor(BasicVisitor):
if value is None or value == 0:
continue
elif isinstance(value, list):
- value = u'[...]
'
+ value = u'[...]
/%d' % len(value)
elif not isinstance(value, (str, unicode, long, int, float)):
continue
else: