Searched refs:PySet_New (Results 1 – 11 of 11) sorted by relevance
83 PyAPI_FUNC(PyObject *) PySet_New(PyObject *);
2268 PySet_New(PyObject *iterable) in PySet_New() function2424 assertRaises(PySet_New(Py_None) == NULL, PyExc_TypeError); in test_c_api()2428 dup = PySet_New(ob); in test_c_api()2446 dup2 = PySet_New(dup); in test_c_api()2471 dup2 = PySet_New(NULL); in test_c_api()2503 f = PySet_New(NULL); in test_c_api()
2996 PyObject *result = PySet_New(self); in dictviews_sub()3015 PyObject *result = PySet_New(self); in dictviews_and()3033 PyObject *result = PySet_New(self); in dictviews_or()3051 PyObject *result = PySet_New(self); in dictviews_xor()
86 .. c:function:: PyObject* PySet_New(PyObject *iterable)
506 "PySet_New"
1220 PySet_New:PyObject*::+1:1221 PySet_New:PyObject*:iterable:0:
964 v = (type == TYPE_SET) ? PySet_New(NULL) : PyFrozenSet_New(NULL); in r_object()
2481 x = PySet_New(NULL); in PyEval_EvalFrameEx()
2853 PyObject *dummy_obj = PySet_New(NULL); in CheckAndGetInteger()
3725 retval = PySet_New(NULL); in parseKeyUsage()
2158 * The built-in set types now have an official C API. Call :c:func:`PySet_New`