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.py1198 getinitargs = getattr(self, "__getinitargs__", None)
1199 if getinitargs:
1200 args = getinitargs()
/external/python/cpython3/Modules/
D_datetimemodule.c3743 PyObject *getinitargs, *getstate; in tzinfo_reduce() local
3747 if (_PyObject_LookupAttrId(self, &PyId___getinitargs__, &getinitargs) < 0) { in tzinfo_reduce()
3750 if (getinitargs != NULL) { in tzinfo_reduce()
3751 args = PyObject_CallNoArgs(getinitargs); in tzinfo_reduce()
3752 Py_DECREF(getinitargs); in tzinfo_reduce()