Home
last modified time | relevance | path

Searched refs:PySet_Type (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython3/Include/
Dsetobject.h76 PyAPI_DATA(PyTypeObject) PySet_Type;
92 (Py_IS_TYPE(ob, &PySet_Type) || Py_IS_TYPE(ob, &PyFrozenSet_Type))
94 (Py_IS_TYPE(ob, &PySet_Type) || Py_IS_TYPE(ob, &PyFrozenSet_Type) || \
95 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
98 (Py_IS_TYPE(ob, &PySet_Type) || \
99 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
/external/python/cpython2/Include/
Dsetobject.h59 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))
/external/python/cpython3/Objects/
Dsetobject.c525 if (!Py_IS_TYPE(so, &PySet_Type)) in set_repr()
969 if (type != &PySet_Type && type != &PyFrozenSet_Type) { in make_new_set_basetype()
970 if (PyType_IsSubtype(type, &PySet_Type)) in make_new_set_basetype()
971 type = &PySet_Type; in make_new_set_basetype()
1718 tmp = make_new_set(&PySet_Type, other); in set_issubset()
1746 tmp = make_new_set(&PySet_Type, other); in set_issuperset()
2091 PyTypeObject PySet_Type = { variable
2242 return make_new_set(&PySet_Type, iterable); in PySet_New()
Dobject.c1775 INIT_TYPE(&PySet_Type, "set"); in _PyTypes_Init()
Ddictobject.c4331 if (Py_IS_TYPE(other, &PySet_Type) && len_self <= PyObject_Size(other)) { in _PyDictView_Intersect()
/external/python/cpython2/Objects/
Dsetobject.c1012 (type == &PySet_Type || type == &PyFrozenSet_Type)) { in make_new_set()
1093 if (type == &PySet_Type && !_PyArg_NoKeywords("set()", kwds)) in set_new()
1761 tmp = make_new_set(&PySet_Type, other); in set_issubset()
1789 tmp = make_new_set(&PySet_Type, other); in set_issuperset()
2126 PyTypeObject PySet_Type = { variable
2275 return make_new_set(&PySet_Type, iterable); in PySet_New()
Dobject.c2121 if (PyType_Ready(&PySet_Type) < 0) in _Py_ReadyTypes()
/external/python/cpython3/Doc/c-api/
Dset.rst38 .. c:var:: PyTypeObject PySet_Type
/external/python/cpython2/Doc/c-api/
Dset.rst40 .. c:var:: PyTypeObject PySet_Type
/external/python/cpython3/PC/
Dpython3.def535 PySet_Type=python39.PySet_Type DATA
/external/python/cpython2/PC/os2emx/
Dpython27.def516 "PySet_Type"
/external/python/cpython2/Python/
Dmarshal.c400 if (PyObject_TypeCheck(v, &PySet_Type)) in w_object()
Dbltinmodule.c2742 SETBUILTIN("set", &PySet_Type); in _PyBuiltin_Init()
/external/python/cpython3/Python/
Dbltinmodule.c2829 SETBUILTIN("set", &PySet_Type); in _PyBuiltin_Init()
Dcompile.c3981 return &PySet_Type; in infer_type()
/external/python/cpython3/Tools/c-analyzer/
DTODO885 Objects/setobject.c:PySet_Type PyTypeObject PySet_Type
Dknown.tsv1541 Objects/setobject.c - PySet_Type variable PyTypeObject PySet_Type
/external/python/cpython3/Modules/
D_pickle.c3390 reduce_value = Py_BuildValue("(O(O))", (PyObject*)&PySet_Type, items); in save_set()
4327 else if (type == &PySet_Type) { in save()
/external/python/cpython3/Lib/test/
Dclinic.test138 d: object(subclass_of="&PySet_Type")