diff options
author | Raymond Hettinger <python@rcn.com> | 2002-12-31 17:24:50 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-12-31 17:24:50 (GMT) |
commit | f621232c0d26d1141efc303a08ef323a82195e14 (patch) | |
tree | d5918055a262632862600c6a10087f2c9833a11e /Doc/lib/libdatetime.tex | |
parent | e2c649126ed1bd609710c10776d148750987e947 (diff) | |
download | cpython-f621232c0d26d1141efc303a08ef323a82195e14.zip cpython-f621232c0d26d1141efc303a08ef323a82195e14.tar.gz cpython-f621232c0d26d1141efc303a08ef323a82195e14.tar.bz2 |
Use funcdesc instead of classdesc to be consistent with out sections.
Diffstat (limited to 'Doc/lib/libdatetime.tex')
-rw-r--r-- | Doc/lib/libdatetime.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libdatetime.tex b/Doc/lib/libdatetime.tex index 772355b..36e5de6 100644 --- a/Doc/lib/libdatetime.tex +++ b/Doc/lib/libdatetime.tex @@ -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: |