Commit 59c3fd02 authored by Stefan Behnel's avatar Stefan Behnel

reuse existing variable instead of calling a macro twice

parent 0b0a2e57
...@@ -546,7 +546,7 @@ static int __Pyx_CLineForTraceback(int c_line) { ...@@ -546,7 +546,7 @@ static int __Pyx_CLineForTraceback(int c_line) {
#if CYTHON_COMPILING_IN_CPYTHON #if CYTHON_COMPILING_IN_CPYTHON
PyObject **cython_runtime_dict = _PyObject_GetDictPtr(${cython_runtime_cname}); PyObject **cython_runtime_dict = _PyObject_GetDictPtr(${cython_runtime_cname});
if (likely(cython_runtime_dict)) { if (likely(cython_runtime_dict)) {
use_cline = PyDict_GetItem(*_PyObject_GetDictPtr(${cython_runtime_cname}), PYIDENT("cline_in_traceback")); use_cline = PyDict_GetItem(*cython_runtime_dict, PYIDENT("cline_in_traceback"));
} else } else
#endif #endif
{ {
......
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