From: Tim Peters Date: Tue, 24 Dec 2002 16:34:13 +0000 (+0000) Subject: Removed blurb admonishing users to raise an exception if the datetime X-Git-Tag: v2.3c1~2887 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52d134874f1044d004df77ff4a1b3899abaafa11;p=python Removed blurb admonishing users to raise an exception if the datetime argument to a tzinfo method doesn't have a matching tzinfo member. --- diff --git a/Doc/lib/libdatetime.tex b/Doc/lib/libdatetime.tex index b061d90853..f29db5b7b3 100644 --- a/Doc/lib/libdatetime.tex +++ b/Doc/lib/libdatetime.tex @@ -767,8 +767,7 @@ implement all of them. The methods are called by a \class{datetimetz} or \class{timetz} object, passing itself as the argument. A \class{tzinfo} subclass's methods should be prepared to accept a dt argument of \code{None} or of type \class{timetz} or -\class{datetimetz}. If is not \code{None}, and dt.tzinfo is not -\code{None} and not equal to self, an exception should be raised. +\class{datetimetz}. - utcoffset(dt) Return offset of local time from UTC, in minutes east of UTC. If