From c15f8b53a76eb6be16f4278f786679391159ffd3 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Fri, 22 Aug 2003 16:27:03 +0000 Subject: [PATCH] Missing "if". --- Doc/lib/libdatetime.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/lib/libdatetime.tex b/Doc/lib/libdatetime.tex index 1d618738a4dd..ce58bcfa0b63 100644 --- a/Doc/lib/libdatetime.tex +++ b/Doc/lib/libdatetime.tex @@ -867,7 +867,7 @@ Instance methods: \var{d}.toordinal() - date(\var{d}.year, 1, 1).toordinal() + 1, dst)} The \member{tm_isdst} flag of the result is set according to - the \method{dst()} method: \member{tzinfo} is \code{None} or + the \method{dst()} method: if \member{tzinfo} is \code{None} or \method{dst()} returns \code{None}, \member{tm_isdst} is set to \code{-1}; else if \method{dst()} returns a non-zero value, \member{tm_isdst} is set to \code{1}; -- 2.47.3