Re: [Python-Dev] [Python-checkins] cpython: what is a invalid tuple?

4 May
2012
4 May
'12
9:45 a.m.
benjamin.peterson python-checkins@python.org wrote:
files: Modules/posixmodule.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -3702,7 +3702,7 @@ 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",
Unrelated to this commit, but 'time' should be 'times'.
Stefan Krah
4237
Age (days ago)
4237
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stefan Krah