Lines Matching refs:ob
69 #define PyFrozenSet_CheckExact(ob) (Py_TYPE(ob) == &PyFrozenSet_Type) argument
70 #define PyAnySet_CheckExact(ob) \ argument
71 (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type)
72 #define PyAnySet_Check(ob) \ argument
73 (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type || \
74 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
75 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
76 #define PySet_Check(ob) \ argument
77 (Py_TYPE(ob) == &PySet_Type || \
78 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
79 #define PyFrozenSet_Check(ob) \ argument
80 (Py_TYPE(ob) == &PyFrozenSet_Type || \
81 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))