[Python-checkins] python/nondist/sandbox/datetime doc.txt,1.13,1.14
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Thu, 05 Dec 2002 15:27:09 -0800
Update of /cvsroot/python/python/nondist/sandbox/datetime
In directory sc8-pr-cvs1:/tmp/cvs-serv27093
Modified Files:
doc.txt
Log Message:
Typo repairs.
Index: doc.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/datetime/doc.txt,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** doc.txt 5 Dec 2002 23:15:59 -0000 1.13
--- doc.txt 5 Dec 2002 23:27:06 -0000 1.14
***************
*** 364,373 ****
- fromordinal(ordinal)
! Return the date corresponding to the proleptic Gregorian ordinal,
where January 1 of year 1 has ordinal 1. ValueError is raised
! unless 1 <= ordinal <= datetime.max.toordinal().
XXX THERE ARE A SLEW OF OTHER CONSTRUCTORS IN THE PYTHON IMPLEMENTATION
! XXX THAT DON'T EXIST YET IN THE C IMPLEMENTATION.
Class attributes:
--- 364,374 ----
- fromordinal(ordinal)
! Return the datetime corresponding to the proleptic Gregorian ordinal,
where January 1 of year 1 has ordinal 1. ValueError is raised
! unless 1 <= ordinal <= datetime.max.toordinal(). The hour, minute,
! second and microsecond of the result are all 0.
XXX THERE ARE A SLEW OF OTHER CONSTRUCTORS IN THE PYTHON IMPLEMENTATION
! XXX THAT DON'T EXIST YET IN THE C IMPLEMENTATION.
Class attributes:
***************
*** 403,408 ****
forward in time if timedelta.days > 0, or backward if
timedelta.days < 0. datetime2 - datetime1 == timedelta after.
! OverflowError is raised if date2.year would be smaller than MINYEAR
! or larger than MAXYEAR.
XXX NOTHING BELOW THIS POINT HAS BEEN CHECKED, AND MUCH IS CERTAINLY
--- 404,409 ----
forward in time if timedelta.days > 0, or backward if
timedelta.days < 0. datetime2 - datetime1 == timedelta after.
! OverflowError is raised if datetime2.year would be smaller than
! MINYEAR or larger than MAXYEAR.
XXX NOTHING BELOW THIS POINT HAS BEEN CHECKED, AND MUCH IS CERTAINLY