@@ -184,12 +184,12 @@ \subsection{\class{timedelta} Objects \label{datetime-timedelta}}
184184
185185\begin {tableii }{c|l}{code}{Attribute}{Value}
186186 \lineii {min}{The most negative \class {timedelta} object,
187- \code {timedelta(-999999999)}}
187+ \code {timedelta(-999999999)}}
188188 \lineii {max}{The most positive \class {timedelta} object,
189189 timedelta(days=999999999, hours=23, minutes=59, seconds=59,
190190 microseconds=999999)}
191191 \lineii {resolution}{The smallest possible difference between non-equal
192- \class {timedelta} objects, \code {timedelta(microseconds=1)}}
192+ \class {timedelta} objects, \code {timedelta(microseconds=1)}}
193193\end {tableii }
194194
195195Note that, because of normalization, \code {timedelta.max} \textgreater
@@ -226,12 +226,12 @@ \subsection{\class{timedelta} Objects \label{datetime-timedelta}}
226226 {The floor is computed and the remainder (if any) is thrown away.}
227227 {(2)}
228228 \lineiii {+\var {t1}}
229- {Returns a \class {timedelta} object with the same value.}
230- {}
229+ {Returns a \class {timedelta} object with the same value.}
230+ {}
231231 \lineiii {-\var {t1}}
232- {equivalent to \class {timedelta}(-\var {t1.days}, -\var {t1.seconds},
233- -\var {t1.microseconds}),and to \var {t1}* -1.}
234- {(1)(3)}
232+ {equivalent to \class {timedelta}(-\var {t1.days}, -\var {t1.seconds},
233+ -\var {t1.microseconds}),and to \var {t1}* -1.}
234+ {(1)(3)}
235235 \lineiii {abs(\var {t})}
236236 {equivalent to +\var {t} when \code {t.days >= 0}, and to -\var {t} when
237237 \code {t.days < 0}.}
@@ -250,7 +250,7 @@ \subsection{\class{timedelta} Objects \label{datetime-timedelta}}
250250Division by 0 raises \exception {ZeroDivisionError}.
251251
252252\item [(3)]
253- -\var {timedelta.max} is not representable as a \class {timedelta} object) .
253+ -\var {timedelta.max} is not representable as a \class {timedelta} object.
254254
255255\end {description }
256256
@@ -741,23 +741,24 @@ \subsection{\class{datetime} Objects \label{datetime-datetime}}
741741
742742\subsection {\class {time} Objects \label {datetime-time } }
743743
744- A time object represents an idealized time of day, independent of day
745- and timezone.
744+ A \class { time} object represents an idealized time of day, independent
745+ of day and timezone.
746746
747- Constructor:
748-
749- time(hour=0, minute=0, second=0, microsecond=0)
747+ \begin {funcdesc }{hour=0, minute=0, second=0, microsecond=0}
750748
751- All arguments are optional. They may be ints or longs, in the
752- following ranges:
749+ All arguments are optional. They may be ints or longs, in the
750+ following ranges:
753751
754- 0 <= hour < 24
755- 0 <= minute < 60
756- 0 <= second < 60
757- 0 <= microsecond < 1000000
752+ \begin {itemize }
753+ \item \code {0 <= \var {hour} < 24}
754+ \item \code {0 <= \var {minute} < 60}
755+ \item \code {0 <= \var {second} < 60}
756+ \item \code {0 <= \var {microsecond} < 1000000}
757+ \end {itemize }
758758
759- If an argument outside those ranges is given,
760- \exception {ValueError} is raised.
759+ If an argument outside those ranges is given, \exception {ValueError} is
760+ raised.
761+ \end {funcdesc }
761762
762763Class attributes:
763764
@@ -1423,7 +1424,7 @@ \subsection{C API}
14231424 PyDelta_CheckExact(op)
14241425
14251426 PyTZInfo_Check(op)
1426- PyTZInfo_CheckExact(op
1427+ PyTZInfo_CheckExact(op)
14271428
14281429Accessor macros:
14291430
0 commit comments