Commit f621232c authored by Raymond Hettinger's avatar Raymond Hettinger

Use funcdesc instead of classdesc to be consistent with out sections.

parent e2c64912
...@@ -133,11 +133,12 @@ object ...@@ -133,11 +133,12 @@ object
\subsection{\class{timedelta} Objects \label{datetime-timedelta}} \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 A \class{timedelta} object represents a duration, the difference
between two dates or times. 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, All arguments are optional. Arguments may be ints, longs, or floats,
and may be positive or negative. and may be positive or negative.
...@@ -177,8 +178,7 @@ between two dates or times. ...@@ -177,8 +178,7 @@ between two dates or times.
>>> (d.days, d.seconds, d.microseconds) >>> (d.days, d.seconds, d.microseconds)
(-1, 86399, 999999) (-1, 86399, 999999)
\end{verbatim} \end{verbatim}
\end{funcdesc}
\end{classdesc}
Class attributes are: Class attributes are:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment