projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78e5a55
)
remove 'inline' hint for lengthy dict.get() code
author
Stefan Behnel
<scoder@users.berlios.de>
Tue, 23 Feb 2010 15:34:35 +0000
(16:34 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Tue, 23 Feb 2010 15:34:35 +0000
(16:34 +0100)
Cython/Compiler/Optimize.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Optimize.py
b/Cython/Compiler/Optimize.py
index 8f922cb4b4e2b230f160b5c95e2bb400fee7368a..a3ef0966d34e0b7da6f4374c922641d49e21c70b 100644
(file)
--- 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);