[Python-checkins] python/dist/src/Doc/lib libdatetime.tex,1.35,1.36
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Tue, 21 Jan 2003 08:44:36 -0800
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv2416/python/Doc/lib
Modified Files:
libdatetime.tex
Log Message:
SF bug 671779: Error in tzinfo.dst() docs
tzinfo dst() should return timedelta(0) if DST is not effect, not 0.
Index: libdatetime.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libdatetime.tex,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** libdatetime.tex 20 Jan 2003 22:54:38 -0000 1.35
--- libdatetime.tex 21 Jan 2003 16:44:27 -0000 1.36
***************
*** 1056,1061 ****
\begin{methoddesc}{dst}{self, dt}
Return the daylight saving time (DST) adjustment, in minutes east of
! UTC, or \code{None} if DST information isn't known. Return \code{0} if
! DST is not in effect.
If DST is in effect, return the offset as a
\class{timedelta} object (see \method{utcoffset()} for details).
--- 1056,1061 ----
\begin{methoddesc}{dst}{self, dt}
Return the daylight saving time (DST) adjustment, in minutes east of
! UTC, or \code{None} if DST information isn't known. Return
! \code{timedelta(0)} if DST is not in effect.
If DST is in effect, return the offset as a
\class{timedelta} object (see \method{utcoffset()} for details).