From: Stefan Behnel Date: Mon, 9 Aug 2010 15:03:39 +0000 (+0200) Subject: better debug output X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=86f38e6684e05848d17781ff1b4e4d00d5f20ef9;p=cython.git better debug output --- 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_a_constant = NotConstant() constant_value_not_set = object()