Commit fc7dfe51 authored by Stefan Behnel's avatar Stefan Behnel

avoid a useless level of indirection for CyFunction.tp_call() in CPython

parent d1a1da32
......@@ -501,6 +501,10 @@ static PyTypeObject __pyx_CyFunctionType_type = {
static int __Pyx_CyFunction_init(void) {
#if !CYTHON_COMPILING_IN_PYPY
// avoid a useless level of call indirection
__pyx_CyFunctionType_type.tp_call = PyCFunction_Call;
#endif
if (PyType_Ready(&__pyx_CyFunctionType_type) < 0)
return -1;
__pyx_CyFunctionType = &__pyx_CyFunctionType_type;
......
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