A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-May/119244.html below:

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

[Python-Dev] [Python-checkins] cpython: what is a invalid tuple? [Python-Dev] [Python-checkins] cpython: what is a invalid tuple?Stefan Krah stefan at bytereef.org
Fri May 4 11:45:35 CEST 2012
benjamin.peterson <python-checkins at 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



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4