Searched refs:PySet_New (Results 1 – 22 of 22) sorted by relevance
177 *pset = PySet_New(NULL); in _add_to_weak_set()289 PySet_New(impl->_abc_registry), in _abc__get_dump()290 PySet_New(impl->_abc_cache), in _abc__get_dump()291 PySet_New(impl->_abc_negative_cache), in _abc__get_dump()
944 result = PySet_New(0);1096 PyObject *set = PySet_New(tup);
3326 iscoroutine_typecache = PySet_New(NULL); in module_init()
5454 result = PySet_New(NULL); in _ssl_enum_certificates_impl()5552 result = PySet_New(NULL); in _ssl_enum_crls_impl()
5727 if ((set = PySet_New(NULL)) == NULL) in load_empty_set()
7164 res = PySet_New(NULL); in os_sched_getaffinity_impl()
80 PyAPI_FUNC(PyObject *) PySet_New(PyObject *);
757 local = PySet_New(NULL); /* collect new names bound in block */ in analyze_block()775 newglobal = PySet_New(NULL); in analyze_block()778 newfree = PySet_New(NULL); in analyze_block()781 newbound = PySet_New(NULL); in analyze_block()848 allfree = PySet_New(NULL); in analyze_block()910 temp_bound = PySet_New(bound); in analyze_child_block()913 temp_free = PySet_New(free); in analyze_child_block()916 temp_global = PySet_New(global); in analyze_child_block()943 free = PySet_New(NULL); in symtable_analyze()946 global = PySet_New(NULL); in symtable_analyze()
1128 seen = PySet_New(NULL); in _PyErr_Display()
1264 v = (type == TYPE_SET) ? PySet_New(NULL) : PyFrozenSet_New(NULL); in r_object()
919 seen = PySet_New(NULL); in match_keys()1015 PyObject *seen = PySet_New(NULL); in match_class()3223 PyObject *set = PySet_New(NULL); in _PyEval_EvalFrameDefault()
6014 PyObject *seen = PySet_New(NULL); in compiler_pattern_mapping()
125 PyObject *a_set = PySet_New(((unionobject*)a)->args); in union_richcompare()129 PyObject *b_set = PySet_New(((unionobject*)b)->args); in union_richcompare()
2239 PySet_New(PyObject *iterable) in PySet_New() function2384 assertRaises(PySet_New(Py_None) == NULL, PyExc_TypeError); in test_c_api()2388 dup = PySet_New(ob); in test_c_api()2406 dup2 = PySet_New(dup); in test_c_api()2431 dup2 = PySet_New(NULL); in test_c_api()2463 f = PySet_New(NULL); in test_c_api()
4414 return PySet_New(left); in dictviews_to_set()4481 result = PySet_New(NULL); in _PyDictView_Intersect()4552 PyObject *result_set = PySet_New(NULL); in dictitems_xor()
87 .. c:function:: PyObject* PySet_New(PyObject *iterable)
553 function,PySet_New,3.2,
2035 PySet_New:PyObject*::+1:2036 PySet_New:PyObject*:iterable:0:
515 EXPORT_FUNC(PySet_New)
1187 function PySet_New
2903 PyObject *dummy_obj = PySet_New(NULL); in InitGlobals()
2159 * The built-in set types now have an official C API. Call :c:func:`PySet_New`