Home
last modified time | relevance | path

Searched refs:initarg (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Modules/_io/
Dstringio.c710 PyObject *initarg; in stringio_setstate() local
729 initarg = PyTuple_GetSlice(state, 0, 2); in stringio_setstate()
730 if (initarg == NULL) in stringio_setstate()
732 if (stringio_init(self, initarg, NULL) < 0) { in stringio_setstate()
733 Py_DECREF(initarg); in stringio_setstate()
736 Py_DECREF(initarg); in stringio_setstate()
/external/python/cpython3/Modules/_io/
Dstringio.c846 PyObject *initarg; in stringio_setstate() local
865 initarg = PyTuple_GetSlice(state, 0, 2); in stringio_setstate()
866 if (initarg == NULL) in stringio_setstate()
868 if (_io_StringIO___init__((PyObject *)self, initarg, NULL) < 0) { in stringio_setstate()
869 Py_DECREF(initarg); in stringio_setstate()
872 Py_DECREF(initarg); in stringio_setstate()
/external/python/cpython2/Lib/test/
Dpickletester.py188 class initarg(C): class
884 x = initarg(1, x)
/external/python/cpython3/Lib/test/
Dpickletester.py165 class initarg(C): class
1464 x = initarg(1, x)
1756 inst = initarg(1, 2)