diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-12-02 12:27:43 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-12-02 12:27:43 (GMT) |
commit | b3cfc1d7eab506cbdd6c579b12e0f2f265f5f2c5 (patch) | |
tree | 245b723530aa802d368a3600595fcebb4dcc4b23 | |
parent | 714d2e24874945b187569b112bc483dbc41f6726 (diff) | |
download | cpython-b3cfc1d7eab506cbdd6c579b12e0f2f265f5f2c5.zip cpython-b3cfc1d7eab506cbdd6c579b12e0f2f265f5f2c5.tar.gz cpython-b3cfc1d7eab506cbdd6c579b12e0f2f265f5f2c5.tar.bz2 |
Patch #481718: Time module doc string changes.
-rw-r--r-- | Modules/timemodule.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c index ef5ab92..a9b7a03 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -289,7 +289,7 @@ time_gmtime(PyObject *self, PyObject *args) } static char gmtime_doc[] = -"gmtime([seconds]) -> tuple\n\ +"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\ GMT). When 'seconds' is not passed in, convert the current time instead."; @@ -306,7 +306,8 @@ time_localtime(PyObject *self, PyObject *args) } static char localtime_doc[] = -"localtime([seconds]) -> tuple\n\ +"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."; @@ -444,6 +445,7 @@ time_strptime(PyObject *self, PyObject *args) 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())."; #endif /* HAVE_STRPTIME */ |