[Python-checkins] python/dist/src/Doc/lib libdatetime.tex,1.6,1.7
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Tue, 24 Dec 2002 08:34:16 -0800
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv30274/python/Doc/lib
Modified Files:
libdatetime.tex
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: libdatetime.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libdatetime.tex,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** libdatetime.tex 24 Dec 2002 16:30:58 -0000 1.6
--- libdatetime.tex 24 Dec 2002 16:34:13 -0000 1.7
***************
*** 768,773 ****
\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.
- utcoffset(dt)
--- 768,772 ----
\class{tzinfo} subclass's methods should be prepared to accept a dt
argument of \code{None} or of type \class{timetz} or
! \class{datetimetz}.
- utcoffset(dt)