Searched refs:PySet_Discard (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython3/Include/ |
D | setobject.h | 86 PyAPI_FUNC(int) PySet_Discard(PyObject *set, PyObject *key);
|
/external/python/cpython2/Include/ |
D | setobject.h | 89 PyAPI_FUNC(int) PySet_Discard(PyObject *set, PyObject *key);
|
/external/python/cpython3/Objects/ |
D | setobject.c | 2282 PySet_Discard(PyObject *set, PyObject *key) in PySet_Discard() function 2396 assertRaises(PySet_Discard(ob, dup) == -1, PyExc_TypeError); in test_c_api() 2407 assert(PySet_Discard(ob, elem) == 1); in test_c_api() 2409 assert(PySet_Discard(ob, elem) == 0); in test_c_api() 2455 assertRaises(PySet_Discard(f, elem) == -1, PyExc_SystemError); in test_c_api()
|
/external/python/cpython2/Objects/ |
D | setobject.c | 2315 PySet_Discard(PyObject *set, PyObject *key) in PySet_Discard() function 2434 assertRaises(PySet_Discard(ob, dup) == -1, PyExc_TypeError); in test_c_api() 2445 assert(PySet_Discard(ob, elem) == 1); in test_c_api() 2447 assert(PySet_Discard(ob, elem) == 0); in test_c_api() 2493 assertRaises(PySet_Discard(f, elem) == -1, PyExc_SystemError); in test_c_api()
|
/external/python/cpython3/Python/ |
D | symtable.c | 511 if (bound && (PySet_Discard(bound, name) < 0)) in analyze_name() 536 if (PySet_Discard(global, name) < 0) in analyze_name() 597 if (PySet_Discard(free, name) < 0) in analyze_cells() 612 res = PySet_Discard(free, __class__); in drop_class_free()
|
/external/python/cpython3/Doc/c-api/ |
D | set.rst | 139 .. c:function:: int PySet_Discard(PyObject *set, PyObject *key)
|
/external/python/cpython2/Doc/c-api/ |
D | set.rst | 155 .. c:function:: int PySet_Discard(PyObject *set, PyObject *key)
|
/external/python/cpython3/Modules/ |
D | _abc.c | 159 if (PySet_Discard(set, objweakref) < 0) { in _destroy()
|
/external/python/cpython3/PC/ |
D | python3.def | 531 PySet_Discard=python39.PySet_Discard
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 1216 PySet_Discard:int::: 1217 PySet_Discard:PyObject*:set:0: 1218 PySet_Discard:PyObject*:key:-1:no effect if key not found
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 511 "PySet_Discard"
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2048 PySet_Discard:int::: 2049 PySet_Discard:PyObject*:set:0: 2050 PySet_Discard:PyObject*:key:-1:no effect if key not found
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.5.rst | 2160 :c:func:`PySet_Discard` to add and remove elements, and :c:func:`PySet_Contains`
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.5.rst | 2161 :c:func:`PySet_Discard` to add and remove elements, and :c:func:`PySet_Contains`
|