From: Tim Peters <tim.peters@gmail.com> Date: Fri, 3 Jan 2003 22:35:24 +0000 (+0000) Subject: Remark about datetime tzinfo examples. X-Git-Tag: v2.3c1~2609 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=77023048854bc408308a10dc092bbd216f9da45e;p=python Remark about datetime tzinfo examples. --- diff --git a/Misc/NEWS b/Misc/NEWS index 0969651a0f..731095ee79 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -32,11 +32,14 @@ Extension modules ValueError is raised if tz.dst(dt) returns None (2.3a1 treated it as 0 instead). - The tzinfo methods utcoffset() and dst() must return a timedelta object - (or None) now. In 2.3a1 they could also return an int or long, but that - was an unhelpfully redundant leftover from an earlier version wherein + The tzinfo methods utcoffset() and dst() must return a timedelta object + (or None) now. In 2.3a1 they could also return an int or long, but that + was an unhelpfully redundant leftover from an earlier version wherein they couldn't return a timedelta. TOOWTDI. + The example tzinfo class for local time had a bug. It was replaced + by a later example coded by Guido. + Library -------