From 8f7b6b8d04f6bad9463f4903c7dea3b05ae85ce4 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Mon, 15 Nov 2010 22:16:15 +0100 Subject: [PATCH] cleanup --- Cython/Compiler/ExprNodes.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index 20b8c4d6..3fae480a 100755 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -1501,7 +1501,6 @@ class NameNode(AtomicExprNode): namespace = Naming.builtins_cname else: # entry.is_pyglobal namespace = entry.scope.namespace_cname - code.globalstate.use_utility_code(getitem_dict_utility_code) code.putln( '%s = PyObject_GetItem(%s, %s); %s' % ( self.result(), @@ -7504,7 +7503,6 @@ static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void) { getitem_dict_utility_code = UtilityCode( proto = """ - #if PY_MAJOR_VERSION >= 3 static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key) { PyObject *value; -- 2.26.2