@@ -398,7 +398,7 @@ \subsection{\class{date} Objects \label{datetime-date}}
398398\item [(4)]
399399In other words, \code {date1 < date2}
400400 if and only if \code {\var {date1}.toordinal() <
401- \var {date2}.toordinal()}.
401+ \var {date2}.toordinal()}.
402402In order to stop comparison from falling back to the default
403403scheme of comparing object addresses, date comparison
404404normally raises \exception {TypeError} if the other comparand
@@ -423,7 +423,7 @@ \subsection{\class{date} Objects \label{datetime-date}}
423423 Return a date with the same value, except for those members given
424424 new values by whichever keyword arguments are specified. For
425425 example, if \code {d == date(2002, 12, 31)}, then
426- \code {d.replace(day=26) == date(2000 , 12, 26)}.
426+ \code {d.replace(day=26) == date(2002 , 12, 26)}.
427427\end {methoddesc }
428428
429429\begin {methoddesc }{timetuple}{}
@@ -432,8 +432,8 @@ \subsection{\class{date} Objects \label{datetime-date}}
432432 0, and the DST flag is -1.
433433 \code {\var {d}.timetuple()} is equivalent to
434434 \code {time.struct_time((\var {d}.year, \var {d}.month, \var {d}.day,
435- 0, 0, 0,
436- \var {d}.weekday(),
435+ 0, 0, 0,
436+ \var {d}.weekday(),
437437 \var {d}.toordinal() - date(\var {d}.year, 1, 1).toordinal() + 1,
438438 -1))}
439439\end {methoddesc }
@@ -475,7 +475,7 @@ \subsection{\class{date} Objects \label{datetime-date}}
475475 year 2004 begins on Monday, 29 Dec 2003 and ends on Sunday, 4 Jan
476476 2004, so that
477477 \code {date(2003, 12, 29).isocalendar() == (2004, 1, 1)}
478- and
478+ and
479479 \code {date(2004, 1, 4).isocalendar() == (2004, 1, 7)}.
480480\end {methoddesc }
481481
@@ -687,7 +687,7 @@ \subsection{\class{datetime} Objects \label{datetime-datetime}}
687687 \lineii {\var {timedelta} = \var {datetime1} - \var {datetime2}}{(3)}
688688
689689 \lineii {\var {datetime1} < \var {datetime2}}
690- {Compares \class {datetime} to \class {datetime}.
690+ {Compares \class {datetime} to \class {datetime}.
691691 (4)}
692692
693693\end {tableii }
@@ -736,7 +736,7 @@ \subsection{\class{datetime} Objects \label{datetime-datetime}}
736736\item [(4)]
737737
738738\var {datetime1} is considered less than \var {datetime2}
739- when \var {datetime1} precedes \var {datetime2} in time.
739+ when \var {datetime1} precedes \var {datetime2} in time.
740740
741741If one comparand is naive and
742742the other is aware, \exception {TypeError} is raised. If both
0 commit comments