summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-01-03 22:35:24 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-01-03 22:35:24 (GMT)
commit77023048854bc408308a10dc092bbd216f9da45e (patch)
tree60693948baec01ae3d4fe32c5d92cadfcadd7d15 /Misc
parent8827d0c33848d9c1c6489ee31f0a75d7e20c70ef (diff)
downloadcpython-77023048854bc408308a10dc092bbd216f9da45e.zip
cpython-77023048854bc408308a10dc092bbd216f9da45e.tar.gz
cpython-77023048854bc408308a10dc092bbd216f9da45e.tar.bz2
Remark about datetime tzinfo examples.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS9
1 files changed, 6 insertions, 3 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 0969651..731095e 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
-------