Home
last modified time | relevance | path

Searched refs:PySet_Check (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython2/Include/
Dsetobject.h76 #define PySet_Check(ob) \ macro
/external/python/cpython3/Include/
Dsetobject.h97 #define PySet_Check(ob) \ macro
/external/python/cpython2/Objects/
Dsetobject.c1874 if (!PySet_Check(key) || !PyErr_ExceptionMatches(PyExc_TypeError)) in set_contains()
1907 if (!PySet_Check(key) || !PyErr_ExceptionMatches(PyExc_TypeError)) in set_remove()
1939 if (!PySet_Check(key) || !PyErr_ExceptionMatches(PyExc_TypeError)) in set_discard()
2004 if (PySet_Check(self) && !_PyArg_NoKeywords("set()", kwds)) in set_init()
2297 if (!PySet_Check(set)) { in PySet_Clear()
2317 if (!PySet_Check(set)) { in PySet_Discard()
2327 if (!PySet_Check(anyset) && in PySet_Add()
2369 if (!PySet_Check(set)) { in PySet_Pop()
2379 if (!PySet_Check(set)) { in _PySet_Update()
/external/python/cpython3/Objects/
Dsetobject.c1822 if (!PySet_Check(key) || !PyErr_ExceptionMatches(PyExc_TypeError)) in set_contains()
1855 if (!PySet_Check(key) || !PyErr_ExceptionMatches(PyExc_TypeError)) in set_remove()
1887 if (!PySet_Check(key) || !PyErr_ExceptionMatches(PyExc_TypeError)) in set_discard()
2264 if (!PySet_Check(set)) { in PySet_Clear()
2284 if (!PySet_Check(set)) { in PySet_Discard()
2294 if (!PySet_Check(anyset) && in PySet_Add()
2327 if (!PySet_Check(set)) { in PySet_Pop()
2337 if (!PySet_Check(set)) { in _PySet_Update()
/external/python/cpython3/Doc/c-api/
Dset.rst53 .. c:function:: int PySet_Check(PyObject *p)
/external/python/cpython2/Doc/c-api/
Dset.rst55 .. c:function:: int PySet_Check(PyObject *p)
/external/tensorflow/tensorflow/python/util/
Dutil.cc347 if (PySet_Check(o) && !WarnedThatSetIsNotSequence) { in IsSequenceHelper()
/external/python/cpython3/Doc/data/
Drefcounts.dat2038 PySet_Check:int:::
2039 PySet_Check:PyObject*:p:0:
/external/python/pybind11/include/pybind11/
Dpytypes.h1355 PYBIND11_OBJECT_CVT(set, object, PySet_Check, PySet_New) in PYBIND11_OBJECT_CVT() argument
/external/python/cpython3/Lib/test/
Dclinic.test197 if (!PySet_Check(args[3])) {
/external/python/cpython3/Modules/
D_pickle.c6645 if (PySet_Check(set)) { in load_additems()
/external/python/cpython2/Misc/NEWS.d/
D2.6a1.rst5290 Added ``PySet_Check()`` and ``PyFrozenSet_Check()`` to the set API.