Home
last modified time | relevance | path

Searched refs:getinitargs (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Modules/
Ddatetimemodule.c2971 PyObject *getinitargs, *getstate; in tzinfo_reduce() local
2977 getinitargs = PyObject_GetAttrString(self, "__getinitargs__"); in tzinfo_reduce()
2978 if (getinitargs != NULL) { in tzinfo_reduce()
2979 args = PyObject_CallObject(getinitargs, tmp); in tzinfo_reduce()
2980 Py_DECREF(getinitargs); in tzinfo_reduce()
/external/python/cpython3/Lib/
Ddatetime.py1145 getinitargs = getattr(self, "__getinitargs__", None)
1146 if getinitargs:
1147 args = getinitargs()
/external/python/cpython3/Modules/
D_datetimemodule.c3504 PyObject *getinitargs, *getstate; in tzinfo_reduce() local
3508 getinitargs = _PyObject_GetAttrId(self, &PyId___getinitargs__); in tzinfo_reduce()
3509 if (getinitargs != NULL) { in tzinfo_reduce()
3510 args = _PyObject_CallNoArg(getinitargs); in tzinfo_reduce()
3511 Py_DECREF(getinitargs); in tzinfo_reduce()