]> granicus.if.org Git - python/commitdiff
Fix typo in exception message.
authorStefan Krah <skrah@bytereef.org>
Sat, 5 May 2012 20:37:05 +0000 (22:37 +0200)
committerStefan Krah <skrah@bytereef.org>
Sat, 5 May 2012 20:37:05 +0000 (22:37 +0200)
Modules/posixmodule.c

index 76f440333de93011365e1b18c97c1e97dea8f49f..dc3302c9913dd5e0de658f7b6184b2b4136218ed 100644 (file)
@@ -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;