summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2007-12-24 20:00:42 (GMT)
committerBrett Cannon <bcannon@gmail.com>2007-12-24 20:00:42 (GMT)
commit35b84b4123627bd618fe9d887084b596160d47cc (patch)
tree3b59498fa147885184ce125ef955b131fd266eb3 /Modules
parent4f1cbd27b4355446b3edaaf1082b16715f197499 (diff)
downloadcpython-35b84b4123627bd618fe9d887084b596160d47cc.zip
cpython-35b84b4123627bd618fe9d887084b596160d47cc.tar.gz
cpython-35b84b4123627bd618fe9d887084b596160d47cc.tar.bz2
Backport of fix for issue 1695.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/timemodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c
index 283ab5f..be02ec2 100644
--- a/Modules/timemodule.c
+++ b/Modules/timemodule.c
@@ -317,7 +317,7 @@ time_gmtime(PyObject *self, PyObject *args)
}
PyDoc_STRVAR(gmtime_doc,
-"gmtime([seconds]) -> (tm_year, tm_mon, tm_day, tm_hour, tm_min,\n\
+"gmtime([seconds]) -> (tm_year, tm_mon, tm_mday, 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\
@@ -333,7 +333,7 @@ time_localtime(PyObject *self, PyObject *args)
}
PyDoc_STRVAR(localtime_doc,
-"localtime([seconds]) -> (tm_year,tm_mon,tm_day,tm_hour,tm_min,tm_sec,tm_wday,tm_yday,tm_isdst)\n\
+"localtime([seconds]) -> (tm_year,tm_mon,tm_mday,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.");