]> granicus.if.org Git - python/commitdiff
what is a invalid tuple?
authorBenjamin Peterson <benjamin@python.org>
Fri, 4 May 2012 05:42:41 +0000 (01:42 -0400)
committerBenjamin Peterson <benjamin@python.org>
Fri, 4 May 2012 05:42:41 +0000 (01:42 -0400)
Modules/posixmodule.c

index 73f62f63efaf45cb49822f8ee9ca9a46a754b02d..6cabe37753c0d820110a2392b683b50357c9068d 100644 (file)
@@ -3702,7 +3702,7 @@ utime_read_time_arguments(utime_arguments *ua)
         if (!PyTuple_CheckExact(times) || (PyTuple_Size(times) != 2)) {
             PyErr_Format(PyExc_TypeError,
                          "%s: 'time' must be either"
-                         " a valid tuple of two ints or None",
+                         " a tuple of two ints or None",
                          ua->function_name);
             goto fail;
         }
@@ -3718,7 +3718,7 @@ utime_read_time_arguments(utime_arguments *ua)
     if (ns) {
         if (!PyTuple_CheckExact(ns) || (PyTuple_Size(ns) != 2)) {
             PyErr_Format(PyExc_TypeError,
-                         "%s: 'ns' must be a valid tuple of two ints",
+                         "%s: 'ns' must be a tuple of two ints",
                          ua->function_name);
             goto fail;
         }