Searched refs:PySet_New (Results 1 – 11 of 11) sorted by relevance
83 PyAPI_FUNC(PyObject *) PySet_New(PyObject *);
2262 PySet_New(PyObject *iterable) in PySet_New() function2418 assertRaises(PySet_New(Py_None) == NULL, PyExc_TypeError); in test_c_api()2422 dup = PySet_New(ob); in test_c_api()2440 dup2 = PySet_New(dup); in test_c_api()2465 dup2 = PySet_New(NULL); in test_c_api()2497 f = PySet_New(NULL); in test_c_api()
2966 PyObject *result = PySet_New(self); in dictviews_sub()2984 PyObject *result = PySet_New(self); in dictviews_and()3002 PyObject *result = PySet_New(self); in dictviews_or()3020 PyObject *result = PySet_New(self); in dictviews_xor()
2266 PySet_New(PyObject *iterable) in PySet_New() function2422 assertRaises(PySet_New(Py_None) == NULL, PyExc_TypeError); in test_c_api()2426 dup = PySet_New(ob); in test_c_api()2444 dup2 = PySet_New(dup); in test_c_api()2469 dup2 = PySet_New(NULL); in test_c_api()2501 f = PySet_New(NULL); in test_c_api()
2928 PyObject *result = PySet_New(self); in dictviews_sub()2946 PyObject *result = PySet_New(self); in dictviews_and()2964 PyObject *result = PySet_New(self); in dictviews_or()2982 PyObject *result = PySet_New(self); in dictviews_xor()
965 v = (type == TYPE_SET) ? PySet_New(NULL) : PyFrozenSet_New(NULL); in r_object()
2202 x = PySet_New(NULL); in PyEval_EvalFrameEx()
970 v = (type == TYPE_SET) ? PySet_New(NULL) : PyFrozenSet_New(NULL); in r_object()
2217 x = PySet_New(NULL); in PyEval_EvalFrameEx()