Commit 720e311d authored by Tim Peters's avatar Tim Peters

Removed blurb admonishing users to raise an exception if the datetime

argument to a tzinfo method doesn't have a matching tzinfo member.
parent 550b5827
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment