From 86f38e6684e05848d17781ff1b4e4d00d5f20ef9 Mon Sep 17 00:00:00 2001 From: Stefan Behnel <scoder@users.berlios.de> Date: Mon, 9 Aug 2010 17:03:39 +0200 Subject: [PATCH] better debug output --- Cython/Compiler/ExprNodes.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index d9adbcae..5de7deaf 100755 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -32,7 +32,10 @@ try: except NameError: from sets import Set as set -class NotConstant(object): pass # just for the name +class NotConstant(object): + def __repr__(self): + return "<NOT CONSTANT>" + not_a_constant = NotConstant() constant_value_not_set = object() -- 2.26.2