From: Benjamin Peterson Date: Fri, 4 May 2012 05:42:41 +0000 (-0400) Subject: what is a invalid tuple? X-Git-Tag: v3.3.0a4~291 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9bd9d74996387536fff74f1dc742bce0162e712d;p=python what is a invalid tuple? --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 73f62f63ef..6cabe37753 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -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; }