summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libdatetime.tex
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-01-21 16:44:27 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-01-21 16:44:27 (GMT)
commitb01c39bb944e7ef932ab0a95aa40e694c07ce3b4 (patch)
tree40f342d7db7e59f96da489e29089c31ea092133f /Doc/lib/libdatetime.tex
parent01524d0462793bf352c7518136460e453a738d33 (diff)
downloadcpython-b01c39bb944e7ef932ab0a95aa40e694c07ce3b4.zip
cpython-b01c39bb944e7ef932ab0a95aa40e694c07ce3b4.tar.gz
cpython-b01c39bb944e7ef932ab0a95aa40e694c07ce3b4.tar.bz2
SF bug 671779: Error in tzinfo.dst() docs
tzinfo dst() should return timedelta(0) if DST is not effect, not 0.
Diffstat (limited to 'Doc/lib/libdatetime.tex')
-rw-r--r--Doc/lib/libdatetime.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libdatetime.tex b/Doc/lib/libdatetime.tex
index 2421fa7..84869b0 100644
--- a/Doc/lib/libdatetime.tex
+++ b/Doc/lib/libdatetime.tex
@@ -1055,8 +1055,8 @@ implement all of them.
\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.
+ 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).
Note that DST offset, if applicable, has