Searched refs:PyClass_Check (Results 1 – 12 of 12) sorted by relevance
41 #define PyClass_Check(op) ((op)->ob_type == &PyClass_Type) macro
99 (PyClass_Check((x)) || (PyType_Check((x)) && \107 (PyClass_Check((x)) \
31 if (PyClass_Check(py)) in ClassName()
28 .. c:function:: int PyClass_Check(PyObject *o)
89 if (!PyClass_Check(base)) { in PyClass_New()315 if (!PyClass_Check(x)) in set_bases()500 if (klass == NULL || !PyClass_Check(klass)) in PyClass_IsSubclass()519 if (!PyClass_Check(klass)) { in PyInstance_NewRaw()863 if (v == NULL || !PyClass_Check(v)) { in instance_setattr()
2895 if (PyClass_Check(cls) && PyInstance_Check(inst)) {2964 if (!(PyClass_Check(cls) || PyInstance_Check(cls))) {2999 if (!PyClass_Check(derived) || !PyClass_Check(cls)) {3042 if (!(PyClass_Check(cls) || PyInstance_Check(cls))) {
473 if (!PyClass_Check(ob) && !PyType_Check(ob)) { in type_set_bases()1338 assert(PyClass_Check(cls)); in fill_classic_mro()1362 assert(PyClass_Check(cls)); in classic_mro()1689 if (PyClass_Check(cls)) in mro_internal()1738 if (PyClass_Check(base_proto)) in best_base()2310 if (PyClass_Check(tmp)) { in type_new()2576 if (PyClass_Check(base)) in _PyType_Lookup()6695 else if (PyClass_Check(tmp))
1381 if (PyClass_Check(base)) in _PyObject_GenericGetAttrWithDict()1942 else if (PyType_Check(obj) || PyClass_Check(obj)) in _dir_object()
3906 if (Py_Py3kWarningFlag && PyClass_Check(type)) { in do_raise()4255 else if (PyClass_Check(func)) in PyEval_GetFuncName()4274 else if (PyClass_Check(func)) in PyEval_GetFuncDesc()
901 if (PyType_Check(m_py_obj) || PyClass_Check(m_py_obj)) { in GetArgInfo()
755 #define PyClass_Check(obj) PyObject_IsInstance(obj, (PyObject *)&PyType_Type) macro1367 if (PyClass_Check(obj)) { in SwigPyClientData_New()
3894 if (PyClass_Check(cls)) { in Instance_New()