Lines Matching defs:state
80 /* Per-module state; PEP 3121 */
92 * state.
97 void *state = PyModule_GetState(module);
98 assert(state != NULL);
99 return (elementtreestate *)state;
103 * and get its state.
1060 * 'state' should be the instance dict.
1064 element_setstate_from_Python(ElementObject *self, PyObject *state)
1077 if (PyArg_ParseTupleAndKeywords(args, state, "|$OOOOO", kwlist, &tag,
1091 state: object
1097 _elementtree_Element___setstate__(ElementObject *self, PyObject *state)
1100 if (!PyDict_CheckExact(state)) {
1103 state);
1107 return element_setstate_from_Python(self, state);
2052 /* ElementIterObject represents the iteration state over an XML element in
3037 * cached globally without being in per-module state.