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/2011-November/114370.html below:

quote the type name for improved readability

[Python-Dev] [Python-checkins] cpython: quote the type name for improved readability [Python-Dev] [Python-checkins] cpython: quote the type name for improved readabilityÉric Araujo merwok at netwok.org
Mon Nov 7 18:24:25 CET 2011
Hi,

> http://hg.python.org/cpython/rev/bbc929bc2224

> user:        Philip Jenvey <pjenvey at underboss.org>
> summary:
>   quote the type name for improved readability
> 
> files:
>   Python/bltinmodule.c |  2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
> 
> 
> diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
> --- a/Python/bltinmodule.c
> +++ b/Python/bltinmodule.c
> @@ -1121,7 +1121,7 @@
>          return NULL;
>      if (!PyIter_Check(it)) {
>          PyErr_Format(PyExc_TypeError,
> -            "%.200s object is not an iterator",
> +            "'%.200s' object is not an iterator",
>              it->ob_type->tp_name);
>          return NULL;
>      }

What about displaying the repr of the type object?
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