[Python-Dev] [Python-checkins] cpython: quote the type name for improved readability (original) (raw)
Éric Araujo merwok at netwok.org
Mon Nov 7 18:24:25 CET 2011
- Previous message: [Python-Dev] Failed issue tracker submission
- Next message: [Python-Dev] [Python-checkins] cpython: quote the type name for improved readability
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
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 (!PyIterCheck(it)) { PyErrFormat(PyExcTypeError, - "%.200s object is not an iterator", + "'%.200s' object is not an iterator", it->obtype->tpname); return NULL; }
What about displaying the repr of the type object?
- Previous message: [Python-Dev] Failed issue tracker submission
- Next message: [Python-Dev] [Python-checkins] cpython: quote the type name for improved readability
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]