Lines Matching defs:when
183 * dict entirely when the C API is not available.
497 time_t when;
500 if (!parse_time_t_args(args, "|O:gmtime", &when))
504 if (_PyTime_gmtime(when, &buf) != 0)
541 time_t when;
544 if (!parse_time_t_args(args, "|O:localtime", &when))
546 if (_PyTime_localtime(when, &buf) != 0)
558 gmtoff = timegm(&buf) - when;
879 e.g. an empty format, or %Z when the timezone
1031 same issue when working in 32 bit mode. */
1530 * dict entirely when the C API is not available.
1731 (for platforms that don't HAVE_WORKING_TZSET, when we know what they
1734 little as possible when introducing the time.tzset and time.tzsetwall