Files
typeshed/stdlib
Ran Benita eab591bb08 Change datetime.datetime.astimezone tz argument type from timezone to tzinfo (#186)
timezone inherits from tzinfo, so using tzinfo is more general (and e.g.
pytz types inherit directly from tzinfo).

This is the correct type, as quoted from astimezone's code:

    elif not isinstance(tz, tzinfo):
        raise TypeError("tz argument must be an instance of tzinfo")
2016-05-06 08:06:22 -07:00
..
2016-05-04 16:54:57 -07:00
2016-03-09 11:58:24 +00:00
2016-03-09 11:58:24 +00:00
2016-03-09 11:58:24 +00:00