From fb48d39605ad778d4c7c3bf8e0267e17f34e51ea Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 21 Feb 2009 19:22:37 +0100 Subject: [PATCH] comment --- Cython/Compiler/Code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/Code.py b/Cython/Compiler/Code.py index 99c0203f..f30110e8 100644 --- a/Cython/Compiler/Code.py +++ b/Cython/Compiler/Code.py @@ -354,7 +354,7 @@ class GlobalState(object): if entry.init[-1] == "L": self.initwriter.putln('%s = PyLong_FromString((char *)"%s", 0, 0); %s;' % ( entry.cname, - entry.init[:-1], + entry.init[:-1], # strip 'L' for Py3 compatibility self.initwriter.error_goto_if_null(entry.cname, self.module_pos))) else: self.initwriter.putln("%s = PyInt_FromLong(%s); %s;" % ( -- 2.26.2