Lines Matching refs:ob
91 #define PyFrozenSet_CheckExact(ob) (Py_TYPE(ob) == &PyFrozenSet_Type) argument
92 #define PyAnySet_CheckExact(ob) \ argument
93 (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type)
94 #define PyAnySet_Check(ob) \ argument
95 (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type || \
96 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
97 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
98 #define PySet_Check(ob) \ argument
99 (Py_TYPE(ob) == &PySet_Type || \
100 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
101 #define PyFrozenSet_Check(ob) \ argument
102 (Py_TYPE(ob) == &PyFrozenSet_Type || \
103 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))