Hi,

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

> user:        Philip Jenvey <pjen...@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?
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to