mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Message for NameError has changed
This commit is contained in:
parent
71390a9a94
commit
e7bd876f9d
1 changed files with 1 additions and 1 deletions
|
|
@ -3090,7 +3090,7 @@ ZeroDivisionError: integer division or modulo
|
||||||
>>> 4 + spam*3
|
>>> 4 + spam*3
|
||||||
Traceback (most recent call last):
|
Traceback (most recent call last):
|
||||||
File "<stdin>", line 1, in ?
|
File "<stdin>", line 1, in ?
|
||||||
NameError: spam
|
NameError: name 'spam' is not defined
|
||||||
>>> '2' + 2
|
>>> '2' + 2
|
||||||
Traceback (most recent call last):
|
Traceback (most recent call last):
|
||||||
File "<stdin>", line 1, in ?
|
File "<stdin>", line 1, in ?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue