mirror of
https://github.com/python/cpython.git
synced 2025-11-20 10:57:44 +00:00
Patch #1507676: improve exception messages in abstract.c, object.c and typeobject.c.
This commit is contained in:
parent
066769c307
commit
ccff785258
4 changed files with 82 additions and 65 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue