]> granicus.if.org Git - python/commitdiff
Use funcdesc instead of classdesc to be consistent with out sections.
authorRaymond Hettinger <python@rcn.com>
Tue, 31 Dec 2002 17:24:50 +0000 (17:24 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 31 Dec 2002 17:24:50 +0000 (17:24 +0000)
Doc/lib/libdatetime.tex

index 772355bb319bc7b3aad395e4565d3f01f51b0dd7..36e5de6ef917bd9ab045a5179d17d276802d92ae 100644 (file)
@@ -133,11 +133,12 @@ object
 
 \subsection{\class{timedelta} Objects \label{datetime-timedelta}}
 
-\begin{classdesc}{timedelta}{days=0, seconds=0, microseconds=0,
-                            milliseconds=0, minutes=0, hours=0, weeks=0}
 A \class{timedelta} object represents a duration, the difference
 between two dates or times.
 
+\begin{funcdesc}{timedelta}{days=0, seconds=0, microseconds=0,
+                            milliseconds=0, minutes=0, hours=0, weeks=0}
+
     All arguments are optional.  Arguments may be ints, longs, or floats,
     and may be positive or negative.
 
@@ -177,8 +178,7 @@ between two dates or times.
 >>> (d.days, d.seconds, d.microseconds)
 (-1, 86399, 999999)
 \end{verbatim}
-
-\end{classdesc}
+\end{funcdesc}
 
 Class attributes are: