]> granicus.if.org Git - python/commitdiff
Minor markup and spelling repair.
authorGuido van Rossum <guido@python.org>
Tue, 31 Dec 2002 04:39:05 +0000 (04:39 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 31 Dec 2002 04:39:05 +0000 (04:39 +0000)
Doc/lib/libdatetime.tex

index ecec11d4fba96e15557d99a348220fb022835648..43575059dd5ec10b64b834bd38d775362453ee06 100644 (file)
@@ -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}