summaryrefslogtreecommitdiffstats
path: root/Modules/timemodule.c
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-03-16 09:05:33 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-03-16 09:05:33 (GMT)
commit13925008dc11f2a235627dc8c0440c0ce99171d9 (patch)
tree4746c36be25417c56cf86591bf222af49b7afdfd /Modules/timemodule.c
parente3d09ff269330bd0076e3ab9cb81907fad717a68 (diff)
downloadcpython-13925008dc11f2a235627dc8c0440c0ce99171d9.zip
cpython-13925008dc11f2a235627dc8c0440c0ce99171d9.tar.gz
cpython-13925008dc11f2a235627dc8c0440c0ce99171d9.tar.bz2
#11565: Fix several typos. Patch by Piotr Kasprzyk.
Diffstat (limited to 'Modules/timemodule.c')
-rw-r--r--Modules/timemodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c
index 8c40d21..a24728a 100644
--- a/Modules/timemodule.c
+++ b/Modules/timemodule.c
@@ -706,7 +706,7 @@ time_mktime(PyObject *self, PyObject *tup)
buf.tm_wday = -1; /* sentinel; original value ignored */
tt = mktime(&buf);
/* Return value of -1 does not necessarily mean an error, but tm_wday
- * cannot remain set to -1 if mktime succedded. */
+ * cannot remain set to -1 if mktime succeeded. */
if (tt == (time_t)(-1) && buf.tm_wday == -1) {
PyErr_SetString(PyExc_OverflowError,
"mktime argument out of range");