Lines Matching refs:Py_INCREF
112 #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
163 Py_INCREF(object); PyTuple_SET_ITEM(args, 0, (PyObject*) object); in deepcopy()
164 Py_INCREF(memo); PyTuple_SET_ITEM(args, 1, (PyObject*) memo); in deepcopy()
187 Py_INCREF(result); in list_join()
211 Py_INCREF(list); in list_join()
281 Py_INCREF(attrib); in element_new_extra()
335 Py_INCREF(tag); in element_new()
338 Py_INCREF(Py_None); in element_new()
341 Py_INCREF(Py_None); in element_new()
415 Py_INCREF(element); in element_add_subelement()
505 Py_INCREF(Py_None); in element()
536 Py_INCREF(Py_None); in subelement()
596 Py_INCREF(Py_None); in element_clear()
599 Py_INCREF(Py_None); in element_clear()
620 Py_INCREF(JOIN_OBJ(self->text)); in element_copy()
623 Py_INCREF(JOIN_OBJ(self->tail)); in element_copy()
634 Py_INCREF(self->extra->children[i]); in element_copy()
671 Py_INCREF(Py_None); in element_deepcopy()
826 Py_INCREF(item); in element_find()
855 Py_INCREF(default_value); in element_findtext()
864 Py_INCREF(item); in element_findtext()
881 Py_INCREF(default_value); in element_findtext()
913 Py_INCREF(item); in element_findall()
958 Py_INCREF(value); in element_get()
986 Py_INCREF(item); in element_getchildren()
1011 Py_INCREF(self); PyTuple_SET_ITEM(args, 0, (PyObject*) self); in element_iter_impl()
1012 Py_INCREF(tag); PyTuple_SET_ITEM(args, 1, (PyObject*) tag); in element_iter_impl()
1070 Py_INCREF(self); PyTuple_SET_ITEM(args, 0, (PyObject*) self); in element_itertext()
1092 Py_INCREF(self->extra->children[index]); in element_getitem()
1124 Py_INCREF(element); in element_insert()
1331 Py_INCREF(item); in element_setitem()
1387 Py_INCREF(item);
1507 Py_INCREF(element);
1581 Py_INCREF(res);
1611 Py_INCREF(res);
1627 Py_INCREF(value);
1630 Py_INCREF(value);
1633 Py_INCREF(value);
1638 Py_INCREF(value);
1722 Py_INCREF(Py_None);
1725 Py_INCREF(Py_None);
1854 Py_INCREF(node);
1861 Py_INCREF(this);
1868 Py_INCREF(node);
1871 Py_INCREF(node);
1893 Py_INCREF(data); self->data = data;
1912 Py_INCREF(data); PyList_SET_ITEM(list, 1, data);
1939 Py_INCREF(self->this);
1945 Py_INCREF(self->last);
1984 Py_INCREF(res);
2132 Py_INCREF(value);
2154 Py_INCREF(key);
2302 Py_INCREF(Py_None);
2599 Py_INCREF(target);
2846 Py_INCREF(events);
2869 Py_INCREF(item);
2942 Py_INCREF(res);
3203 Py_INCREF(elementtree_parseerror_obj);