Home
last modified time | relevance | path

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

/external/python/cpython2/Include/
Dsetobject.h90 PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key);
/external/python/cpython2/Doc/c-api/
Dset.rst105 building-up new frozensets with :meth:`PySet_Add`.
138 .. c:function:: int PySet_Add(PyObject *set, PyObject *key)
/external/python/cpython2/Objects/
Dsetobject.c2320 PySet_Add(PyObject *anyset, PyObject *key) in PySet_Add() function
2431 assertRaises(PySet_Add(ob, dup) == -1, PyExc_TypeError); in test_c_api()
2437 assert(PySet_Add(ob, elem) == 0); in test_c_api()
2455 assert(PySet_Add(f, elem) == 0); in test_c_api()
2457 assertRaises(PySet_Add(f, elem) == -1, PyExc_SystemError); in test_c_api()
/external/python/cpython2/Modules/
D_hashopenssl.c792 if (PySet_Add(state->set, py_name) != 0) { in _openssl_hash_name_mapper()
D_ssl.c3738 err = PySet_Add(retval, oid); in parseKeyUsage()
/external/python/cpython2/PC/os2emx/
Dpython27.def512 "PySet_Add"
/external/python/cpython2/Python/
Dmarshal.c979 if (PySet_Add(v, v2) == -1) { in r_object()
Dceval.c1624 err = PySet_Add(v, w); in PyEval_EvalFrameEx()
2486 err = PySet_Add(x, w); in PyEval_EvalFrameEx()
/external/python/cpython2/Doc/whatsnew/
D2.5.rst2159 and :c:func:`PyFrozenSet_New` to create a new set, :c:func:`PySet_Add` and
/external/python/cpython2/Misc/
DNEWS12126 - ``PySet_Add()`` can now modify a newly created frozenset. Similarly