summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-05-05 20:37:05 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-05-05 20:37:05 (GMT)
commit6b03f2ce45785190c6a8da271199ff724ba559d8 (patch)
tree0a16420601d9e6dfeef7391f739e83e0b2451d40
parentcc238849df0cf839c8ca2f4c3e17a0a8ad7e8392 (diff)
downloadcpython-6b03f2ce45785190c6a8da271199ff724ba559d8.zip
cpython-6b03f2ce45785190c6a8da271199ff724ba559d8.tar.gz
cpython-6b03f2ce45785190c6a8da271199ff724ba559d8.tar.bz2
Fix typo in exception message.
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 76f4403..dc3302c 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -3711,7 +3711,7 @@ utime_read_time_arguments(utime_arguments *ua)
if (times && (times != Py_None)) {
if (!PyTuple_CheckExact(times) || (PyTuple_Size(times) != 2)) {
PyErr_Format(PyExc_TypeError,
- "%s: 'time' must be either"
+ "%s: 'times' must be either"
" a tuple of two ints or None",
ua->function_name);
return_value = utime_times_conversion_failure;