From 5483745dbabd3b538d03514f331d3368044ccfc3 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 23 Feb 2010 16:34:35 +0100 Subject: [PATCH] remove 'inline' hint for lengthy dict.get() code --- Cython/Compiler/Optimize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/Optimize.py b/Cython/Compiler/Optimize.py index 8f922cb4..a3ef0966 100644 --- a/Cython/Compiler/Optimize.py +++ b/Cython/Compiler/Optimize.py @@ -1620,7 +1620,7 @@ class OptimizeBuiltinCalls(Visitor.EnvTransform): dict_getitem_default_utility_code = UtilityCode( proto = ''' -static CYTHON_INLINE PyObject* __Pyx_PyDict_GetItemDefault(PyObject* d, PyObject* key, PyObject* default_value) { +static PyObject* __Pyx_PyDict_GetItemDefault(PyObject* d, PyObject* key, PyObject* default_value) { PyObject* value; #if PY_MAJOR_VERSION >= 3 value = PyDict_GetItemWithError(d, key); -- 2.26.2