Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9bd9d74

Browse files
committed
what is a invalid tuple?
1 parent b399ab2 commit 9bd9d74

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Modules/posixmodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3702,7 +3702,7 @@ utime_read_time_arguments(utime_arguments *ua)
37023702
if (!PyTuple_CheckExact(times) || (PyTuple_Size(times) != 2)) {
37033703
PyErr_Format(PyExc_TypeError,
37043704
"%s: 'time' must be either"
3705-
" a valid tuple of two ints or None",
3705+
" a tuple of two ints or None",
37063706
ua->function_name);
37073707
goto fail;
37083708
}
@@ -3718,7 +3718,7 @@ utime_read_time_arguments(utime_arguments *ua)
37183718
if (ns) {
37193719
if (!PyTuple_CheckExact(ns) || (PyTuple_Size(ns) != 2)) {
37203720
PyErr_Format(PyExc_TypeError,
3721-
"%s: 'ns' must be a valid tuple of two ints",
3721+
"%s: 'ns' must be a tuple of two ints",
37223722
ua->function_name);
37233723
goto fail;
37243724
}

0 commit comments

Comments
 (0)