We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 181588c commit 30439b6Copy full SHA for 30439b6
src/utils.pyx
@@ -76,6 +76,7 @@ cpdef py_bool IsFunctionOrMethod(object valueType):
76
if (valueType == types.FunctionType
77
or valueType == types.MethodType
78
or valueType == types.BuiltinFunctionType
79
- or valueType == types.BuiltinMethodType):
+ or valueType == types.BuiltinMethodType
80
+ or valueType.__name__ == "cython_function_or_method"):
81
return True
82
return False
0 commit comments