From 8e7ec7cec87ffbce02f8676490290378a40c897d Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 31 Dec 2002 04:39:05 +0000 Subject: [PATCH] Minor markup and spelling repair. --- Doc/lib/libdatetime.tex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/lib/libdatetime.tex b/Doc/lib/libdatetime.tex index ecec11d4fba..43575059dd5 100644 --- a/Doc/lib/libdatetime.tex +++ b/Doc/lib/libdatetime.tex @@ -163,7 +163,7 @@ between two dates or times. If any argument is a float, and there are fractional microseconds, the fractional microseconds left over from all arguments are combined and their sum is rounded to the nearest microsecond. If no - argument is a flost, the conversion and normalization processes + argument is a float, the conversion and normalization processes are exact (no information is lost). If the normalized value of days lies outside the indicated range, @@ -489,7 +489,7 @@ calendar extended in both directions; like a time object, \class{datetime} assumes there are exactly 3600*24 seconds in every day. -\begin{funcdesc}datetime{year, month, day, +\begin{funcdesc}{datetime}{year, month, day, hour=0, minute=0, second=0, microsecond=0} The year, month and day arguments are required. Arguments may be ints or longs, in the following ranges: @@ -882,6 +882,7 @@ implement all of them. \begin{verbatim} return CONSTANT # fixed-offset class return CONSTANT + self.dst(dt) # daylight-aware class +\end{verbatim} \end{methoddesc} \begin{methoddesc}{tzname}{self, dt}