summaryrefslogtreecommitdiffstats
path: root/Modules/timemodule.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-03-12 21:38:49 (GMT)
committerFred Drake <fdrake@acm.org>2002-03-12 21:38:49 (GMT)
commit193a3f6d37c1440b049f7b1c62ff30c1d8cae38a (patch)
treeb8ce10c4bb202f2f736be1e1e9dd45373e3f317d /Modules/timemodule.c
parentd70356729fe2fa93b6e419e78d3dd9433bcf2787 (diff)
downloadcpython-193a3f6d37c1440b049f7b1c62ff30c1d8cae38a.zip
cpython-193a3f6d37c1440b049f7b1c62ff30c1d8cae38a.tar.gz
cpython-193a3f6d37c1440b049f7b1c62ff30c1d8cae38a.tar.bz2
Update docstrings to use te attribute names of the new structures returned
by stat and time functions. This closes SF patch #523271.
Diffstat (limited to 'Modules/timemodule.c')
-rw-r--r--Modules/timemodule.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c
index 5d7fa51..52308b3 100644
--- a/Modules/timemodule.c
+++ b/Modules/timemodule.c
@@ -285,7 +285,8 @@ time_gmtime(PyObject *self, PyObject *args)
}
static char gmtime_doc[] =
-"gmtime([seconds]) -> (year,month,day,hour,minute,second,weekday,dayofyear,dst)\n\
+"gmtime([seconds]) -> (tm_year, tm_mon, tm_day, tm_hour, tm_min,\n\
+ tm_sec, tm_wday, tm_yday, tm_isdst)\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.";
@@ -302,7 +303,7 @@ time_localtime(PyObject *self, PyObject *args)
}
static char localtime_doc[] =
-"localtime([seconds]) -> (year,month,day,hour,minute,second,weekday,dayofyear,dst)\n\
+"localtime([seconds]) -> (tm_year,tm_mon,tm_day,tm_hour,tm_min,tm_sec,tm_wday,tm_yday,tm_isdst)\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.";