Patch #1507676: improve exception messages in abstract.c, object.c and typeobject.c.

This commit is contained in:
Georg Brandl 2006-06-18 22:17:29 +00:00
parent 066769c307
commit ccff785258
4 changed files with 82 additions and 65 deletions

View file

@ -109,7 +109,7 @@ for iterability
Traceback (most recent call last):
File "<pyshell#4>", line 1, in -toplevel-
(i for i in 6)
TypeError: iteration over non-sequence
TypeError: 'int' object is not iterable
Verify late binding for the outermost if-expression