Lines Matching refs:PyList_New
953 children = PyList_New(self->extra ? self->extra->length : 0); in _elementtree_Element___getstate___impl()
1338 out = PyList_New(0); in _elementtree_Element_findall_impl()
1524 return PyList_New(0); in _elementtree_Element_items_impl()
1539 return PyList_New(0); in _elementtree_Element_keys_impl()
1742 return PyList_New(0); in element_subscr()
1751 return PyList_New(0); in element_subscr()
1753 list = PyList_New(slicelen); in element_subscr()
1829 if (!(recycle = PyList_New(slicelen))) { in element_ass_subscr()
1916 recycle = PyList_New(slicelen); in element_ass_subscr()
2378 t->stack = PyList_New(20); in treebuilder_new()
2772 PyObject* list = PyList_New(2); in treebuilder_handle_data()