Home | History | Annotate | Download | only in Objects

Lines Matching refs:checker

2968         PyObject *checker;
2969 checker = _PyObject_LookupSpecial(cls, "__instancecheck__", &name);
2970 if (checker != NULL) {
2974 Py_DECREF(checker);
2977 res = PyObject_CallFunctionObjArgs(checker, inst, NULL);
2979 Py_DECREF(checker);
3046 PyObject *checker;
3047 checker = _PyObject_LookupSpecial(cls, "__subclasscheck__", &name);
3048 if (checker != NULL) {
3052 Py_DECREF(checker);
3055 res = PyObject_CallFunctionObjArgs(checker, derived, NULL);
3057 Py_DECREF(checker);