From 9bd9d74996387536fff74f1dc742bce0162e712d Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Fri, 4 May 2012 01:42:41 -0400 Subject: what is a invalid tuple? --- Modules/posixmodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 73f62f6..6cabe37 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; } -- cgit v0.12