is_method
Description:
Determines if the callable info is a method.
For VFuncInfos, CallbackInfos, and SignalInfos, this is always true. Otherwise, this looks at the IS_METHOD flag on the FunctionInfo.
Concretely, this function returns whether get_n_args matches the number of arguments in the raw C method. For methods, there is one more C argument than is exposed by introspection: the "self" or "this" object.
Parameters:
info |
Returns:
|