summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libdatetime.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-12-31 04:39:05 (GMT)
committerGuido van Rossum <guido@python.org>2002-12-31 04:39:05 (GMT)
commit8e7ec7cec87ffbce02f8676490290378a40c897d (patch)
tree152650a53835177796e6b88527c4775434ec4395 /Doc/lib/libdatetime.tex
parentb2501f4cd18f65cc671482ceb1abe88c289b664c (diff)
downloadcpython-8e7ec7cec87ffbce02f8676490290378a40c897d.zip
cpython-8e7ec7cec87ffbce02f8676490290378a40c897d.tar.gz
cpython-8e7ec7cec87ffbce02f8676490290378a40c897d.tar.bz2
Minor markup and spelling repair.
Diffstat (limited to 'Doc/lib/libdatetime.tex')
-rw-r--r--Doc/lib/libdatetime.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/libdatetime.tex b/Doc/lib/libdatetime.tex
index ecec11d..4357505 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}