diff Doc/lib/libdatetime.tex @ 26924:31adea49a558 legacy-trunk

Minor markup and spelling repair.
author Guido van Rossum <guido@python.org>
date Tue, 31 Dec 2002 04:39:05 +0000
parents 6ec386b45e1f
children 94bc812a3c52
line wrap: on
line diff
--- a/Doc/lib/libdatetime.tex	Tue Dec 31 03:42:13 2002 +0000
+++ b/Doc/lib/libdatetime.tex	Tue Dec 31 04:39:05 2002 +0000
@@ -163,7 +163,7 @@
     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 @@
 \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 @@
 \begin{verbatim}
         return CONSTANT  # fixed-offset class
         return CONSTANT + self.dst(dt)  # daylight-aware class
+\end{verbatim}
 \end{methoddesc}
 
 \begin{methoddesc}{tzname}{self, dt}