[Zope3-checkins] CVS: Zope3/src/datetime - doc.txt:1.1.2.3
Tim Peters
tim.one@comcast.net
Tue, 24 Dec 2002 11:36:44 -0500
Update of /cvs-repository/Zope3/src/datetime
In directory cvs.zope.org:/tmp/cvs-serv5903/src/datetime
Modified Files:
Tag: NameGeddon-branch
doc.txt
Log Message:
Removed blurb admonishing users to raise an exception if the datetime
argument to a tzinfo method doesn't have a matching tzinfo member.
=== Zope3/src/datetime/doc.txt 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/datetime/doc.txt:1.1.2.2 Tue Dec 24 00:53:15 2002
+++ Zope3/src/datetime/doc.txt Tue Dec 24 11:36:42 2002
@@ -775,9 +775,7 @@
of aware datetime objects; if in doubt, simply implement all of them.
The methods are called by a datetimetz or timetz object, passing itself
as the argument. A tzinfo subclass's methods should be prepared to
-accept a dt argument of type None, timetz, or datetimetz. If the dt
-argument is not None, and dt.tzinfo is not None and not equal to self,
-an exception should be raised.
+accept an argument of type None, timetz, or datetimetz.
- utcoffset(dt)
Return offset of local time from UTC, in minutes east of UTC. If