Searched refs:PySet_Type (Results 1 – 7 of 7) sorted by relevance
59 PyAPI_DATA(PyTypeObject) PySet_Type;71 (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type)73 (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type || \74 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \77 (Py_TYPE(ob) == &PySet_Type || \78 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
1009 (type == &PySet_Type || type == &PyFrozenSet_Type)) { in make_new_set()1090 if (type == &PySet_Type && !_PyArg_NoKeywords("set()", kwds)) in set_new()1756 tmp = make_new_set(&PySet_Type, other); in set_issubset()1784 tmp = make_new_set(&PySet_Type, other); in set_issuperset()2121 PyTypeObject PySet_Type = { variable2270 return make_new_set(&PySet_Type, iterable); in PySet_New()
2116 if (PyType_Ready(&PySet_Type) < 0) in _Py_ReadyTypes()
40 .. c:var:: PyTypeObject PySet_Type
516 "PySet_Type"
400 if (PyObject_TypeCheck(v, &PySet_Type)) in w_object()
2731 SETBUILTIN("set", &PySet_Type); in _PyBuiltin_Init()