Commit a1b5073c authored by Stefan Behnel's avatar Stefan Behnel

avoid C compiler warning about unused helper function in Py<3.4

parent 23ebf9cd
...@@ -70,7 +70,6 @@ static int __Pyx_CyFunction_init(void); ...@@ -70,7 +70,6 @@ static int __Pyx_CyFunction_init(void);
//////////////////// CythonFunction //////////////////// //////////////////// CythonFunction ////////////////////
//@substitute: naming //@substitute: naming
//@requires: CommonTypes.c::FetchCommonType //@requires: CommonTypes.c::FetchCommonType
//@requires: ObjectHandling.c::PyObjectCallMethod
//@requires: ObjectHandling.c::PyObjectGetAttrStr //@requires: ObjectHandling.c::PyObjectGetAttrStr
static PyObject * static PyObject *
...@@ -362,7 +361,7 @@ __Pyx_CyFunction_get_signature(__pyx_CyFunctionObject *op) { ...@@ -362,7 +361,7 @@ __Pyx_CyFunction_get_signature(__pyx_CyFunctionObject *op) {
if (unlikely(!signature_class)) if (unlikely(!signature_class))
goto bad; goto bad;
// return Signature.from_function(op) // return Signature.from_function(op)
signature = __Pyx_PyObject_CallMethod1(signature_class, PYIDENT("from_function"), op); signature = PyObject_CallMethodObjectArgs(signature_class, PYIDENT("from_function"), op, NULL);
Py_DECREF(signature_class); Py_DECREF(signature_class);
if (likely(signature)) if (likely(signature))
return signature; return signature;
......
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