[Python-checkins] python/nondist/sandbox/datetime doc.txt,1.70,1.71

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Tue, 24 Dec 2002 08:35:02 -0800


Update of /cvsroot/python/python/nondist/sandbox/datetime
In directory sc8-pr-cvs1:/tmp/cvs-serv30834

Modified Files:
	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.


Index: doc.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/datetime/doc.txt,v
retrieving revision 1.70
retrieving revision 1.71
diff -C2 -d -r1.70 -r1.71
*** doc.txt	24 Dec 2002 04:35:00 -0000	1.70
--- doc.txt	24 Dec 2002 16:34:59 -0000	1.71
***************
*** 776,782 ****
  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.
  
    - utcoffset(dt)
--- 776,780 ----
  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 an argument of type None, timetz, or datetimetz.
  
    - utcoffset(dt)