From 7f265e5c9fedd570c193358ee27c80cd539108dd Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 10 Jan 2009 17:58:38 +0100 Subject: [PATCH] print size of list attributes on node dump --- 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 7e2e2e0f..102c5b05 100644 --- 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: -- 2.26.2