Lines Matching full:tzname
993 /* Call tzinfo.tzname(tzinfoarg), and return the result. tzinfo must be
995 * tzname() doesn't return None or a string, TypeError is raised and this
1003 _Py_IDENTIFIER(tzname);
1018 PyErr_Format(PyExc_TypeError, "tzinfo.tzname() must "
1176 /* Since the tzname is getting stuffed into the
1187 "tzname.replace() did not return a string");
1303 /* format tzname */
3040 return tzinfo_nogo("tzname");
3195 {"tzname", (PyCFunction)tzinfo_tzname, METH_O,
3303 /* Check argument type passed to tzname, utcoffset, or dst methods.
3376 if (_timezone_check_argument(dt, "tzname") == -1)
3427 {"tzname", (PyCFunction)timezone_tzname, METH_O,
4005 {"tzname", (PyCFunction)time_tzname, METH_NOARGS,
4006 PyDoc_STR("Return self.tzinfo.tzname(self).")},
5528 {"tzname", (PyCFunction)datetime_tzname, METH_NOARGS,
5529 PyDoc_STR("Return self.tzinfo.tzname(self).")},