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()
1145 getinitargs = getattr(self, "__getinitargs__", None)1146 if getinitargs:1147 args = getinitargs()
3504 PyObject *getinitargs, *getstate; in tzinfo_reduce() local3508 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()