Home
last modified time | relevance | path

Searched refs:PySet_Discard (Results 1 – 10 of 10) sorted by relevance

/third_party/python/Include/
Dsetobject.h86 PyAPI_FUNC(int) PySet_Discard(PyObject *set, PyObject *key);
/third_party/python/Objects/
Dsetobject.c2281 PySet_Discard(PyObject *set, PyObject *key) in PySet_Discard() function
2389 assertRaises(PySet_Discard(ob, dup) == -1, PyExc_TypeError); in test_c_api()
2400 assert(PySet_Discard(ob, elem) == 1); in test_c_api()
2402 assert(PySet_Discard(ob, elem) == 0); in test_c_api()
2448 assertRaises(PySet_Discard(f, elem) == -1, PyExc_SystemError); in test_c_api()
/third_party/python/Python/
Dsymtable.c522 if (bound && (PySet_Discard(bound, name) < 0)) in analyze_name()
547 if (PySet_Discard(global, name) < 0) in analyze_name()
608 if (PySet_Discard(free, name) < 0) in analyze_cells()
623 res = PySet_Discard(free, __class__); in drop_class_free()
/third_party/python/Doc/c-api/
Dset.rst146 .. c:function:: int PySet_Discard(PyObject *set, PyObject *key)
/third_party/python/Modules/
D_abc.c161 if (PySet_Discard(set, objweakref) < 0) { in _destroy()
/third_party/python/Doc/data/
Dstable_abi.dat552 function,PySet_Discard,3.2,
Drefcounts.dat2028 PySet_Discard:int:::
2029 PySet_Discard:PyObject*:set:0:
2030 PySet_Discard:PyObject*:key:-1:no effect if key not found
/third_party/python/PC/
Dpython3dll.c514 EXPORT_FUNC(PySet_Discard)
/third_party/python/Misc/
Dstable_abi.txt1185 function PySet_Discard
/third_party/python/Doc/whatsnew/
D2.5.rst2161 :c:func:`PySet_Discard` to add and remove elements, and :c:func:`PySet_Contains`