[Python-checkins] CVS: python/dist/src/Modules timemodule.c,2.116,2.117
Martin v. L?wis
loewis@users.sourceforge.net
2001年12月02日 04:27:45 -0800
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv31918
Modified Files:
timemodule.c
Log Message:
Patch #481718: Time module doc string changes.
Index: timemodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/timemodule.c,v
retrieving revision 2.116
retrieving revision 2.117
diff -C2 -d -r2.116 -r2.117
*** timemodule.c 2001年10月24日 20:37:10 2.116
--- timemodule.c 2001年12月02日 12:27:43 2.117
***************
*** 290,294 ****
static char gmtime_doc[] =
! "gmtime([seconds]) -> tuple\n\
\n\
Convert seconds since the Epoch to a time tuple expressing UTC (a.k.a.\n\
--- 290,294 ----
static char gmtime_doc[] =
! "gmtime([seconds]) -> (year,month,day,hour,minute,second,weekday,dayofyear,dst)\n\
\n\
Convert seconds since the Epoch to a time tuple expressing UTC (a.k.a.\n\
***************
*** 307,311 ****
static char localtime_doc[] =
! "localtime([seconds]) -> tuple\n\
Convert seconds since the Epoch to a time tuple expressing local time.\n\
When 'seconds' is not passed in, convert the current time instead.";
--- 307,312 ----
static char localtime_doc[] =
! "localtime([seconds]) -> (year,month,day,hour,minute,second,weekday,dayofyear,dst)\n\
! \n\
Convert seconds since the Epoch to a time tuple expressing local time.\n\
When 'seconds' is not passed in, convert the current time instead.";
***************
*** 445,448 ****
--- 446,450 ----
static char strptime_doc[] =
"strptime(string, format) -> tuple\n\
+ \n\
Parse a string to a time tuple according to a format specification.\n\
See the library reference manual for formatting codes (same as strftime()).";