Commit 8f7b6b8d authored by Stefan Behnel's avatar Stefan Behnel

cleanup

parent ff067a8f
...@@ -1501,7 +1501,6 @@ class NameNode(AtomicExprNode): ...@@ -1501,7 +1501,6 @@ class NameNode(AtomicExprNode):
namespace = Naming.builtins_cname namespace = Naming.builtins_cname
else: # entry.is_pyglobal else: # entry.is_pyglobal
namespace = entry.scope.namespace_cname namespace = entry.scope.namespace_cname
code.globalstate.use_utility_code(getitem_dict_utility_code)
code.putln( code.putln(
'%s = PyObject_GetItem(%s, %s); %s' % ( '%s = PyObject_GetItem(%s, %s); %s' % (
self.result(), self.result(),
...@@ -7504,7 +7503,6 @@ static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void) { ...@@ -7504,7 +7503,6 @@ static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void) {
getitem_dict_utility_code = UtilityCode( getitem_dict_utility_code = UtilityCode(
proto = """ proto = """
#if PY_MAJOR_VERSION >= 3 #if PY_MAJOR_VERSION >= 3
static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key) { static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key) {
PyObject *value; PyObject *value;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment