Searched refs:Element_Type (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Modules/clinic/ |
D | _elementtree.c.h | 22 if (!PyArg_Parse(arg, "O!:append", &Element_Type, &subelement)) { in _elementtree_Element_append() 420 &index, &Element_Type, &subelement)) { in _elementtree_Element_insert() 510 if (!PyArg_Parse(arg, "O!:remove", &Element_Type, &subelement)) { in _elementtree_Element_remove()
|
/external/python/cpython2/Modules/ |
D | _elementtree.c | 264 staticforward PyTypeObject Element_Type; variable 266 #define Element_CheckExact(op) (Py_TYPE(op) == &Element_Type) 312 self = PyObject_New(ElementObject, &Element_Type); in element_new() 525 &Element_Type, &parent, &tag, in subelement() 576 if (!PyArg_ParseTuple(args, "O!:append", &Element_Type, &element)) in element_append() 1104 &Element_Type, &element)) in element_insert() 1219 if (!PyArg_ParseTuple(args, "O!:remove", &Element_Type, &element)) in element_remove() 1664 statichere PyTypeObject Element_Type = { variable 2979 Py_TYPE(&Element_Type) = Py_TYPE(&TreeBuilder_Type) = &PyType_Type;
|
/external/python/cpython3/Modules/ |
D | _elementtree.c | 84 static PyTypeObject Element_Type; variable 206 #define Element_CheckExact(op) (Py_TYPE(op) == &Element_Type) 207 #define Element_Check(op) PyObject_TypeCheck(op, &Element_Type) 278 self = PyObject_GC_New(ElementObject, &Element_Type); in create_new_element() 578 &Element_Type, &parent, &tag, in subelement() 3876 static PyTypeObject Element_Type = { variable 4057 if (PyType_Ready(&Element_Type) < 0) in PyInit__elementtree() 4103 Py_INCREF((PyObject *)&Element_Type); in PyInit__elementtree() 4104 PyModule_AddObject(m, "Element", (PyObject *)&Element_Type); in PyInit__elementtree()
|