Removed blurb admonishing users to raise an exception if the datetime

argument to a tzinfo method doesn't have a matching tzinfo member.
This commit is contained in:
Tim Peters 2002-12-24 16:34:13 +00:00
parent 2483b61e03
commit 52d134874f
1 changed files with 1 additions and 2 deletions

View File

@ -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