Commit 93f8519b authored by Stefan Behnel's avatar Stefan Behnel

minor code simplification

parent db202010
...@@ -81,10 +81,10 @@ static int __Pyx_TraceSetupAndCall(PyCodeObject** code, ...@@ -81,10 +81,10 @@ static int __Pyx_TraceSetupAndCall(PyCodeObject** code,
if (*code == NULL) return 0; if (*code == NULL) return 0;
} }
*frame = PyFrame_New( *frame = PyFrame_New(
PyThreadState_GET(), /*PyThreadState *tstate*/ PyThreadState_GET(), /*PyThreadState *tstate*/
*code, /*PyCodeObject *code*/ *code, /*PyCodeObject *code*/
PyModule_GetDict($module_cname), /*PyObject *globals*/ $moddict_cname, /*PyObject *globals*/
0 /*PyObject *locals*/ 0 /*PyObject *locals*/
); );
if (*frame == NULL) return 0; if (*frame == NULL) return 0;
} }
......
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