diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-05-04 05:42:41 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-05-04 05:42:41 (GMT) |
commit | 9bd9d74996387536fff74f1dc742bce0162e712d (patch) | |
tree | 0bb2196011c4b617382c17fcdbe853e31f16f43e /Modules | |
parent | b399ab2c5c5d63d6e8b7570921b5e3956dcc9925 (diff) | |
download | cpython-9bd9d74996387536fff74f1dc742bce0162e712d.zip cpython-9bd9d74996387536fff74f1dc742bce0162e712d.tar.gz cpython-9bd9d74996387536fff74f1dc742bce0162e712d.tar.bz2 |
what is a invalid tuple?
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 4 |
1 files 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; } |