Searched refs:getinitargs (Results 1 – 3 of 3) sorted by relevance
2971 PyObject *getinitargs, *getstate; in tzinfo_reduce() local2977 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()
1198 getinitargs = getattr(self, "__getinitargs__", None)1199 if getinitargs:1200 args = getinitargs()
3743 PyObject *getinitargs, *getstate; in tzinfo_reduce() local3747 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()