mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
what is a invalid tuple?
This commit is contained in:
parent
b399ab2c5c
commit
9bd9d74996
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue