From: Stefan Behnel Date: Mon, 15 Nov 2010 21:16:15 +0000 (+0100) Subject: cleanup X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8f7b6b8d04f6bad9463f4903c7dea3b05ae85ce4;p=cython.git cleanup --- 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;