Kaydet (Commit) 9efc1117 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Backport 1.161: Message for NameError has changed.

üst b3e15fe7
......@@ -3079,7 +3079,7 @@ ZeroDivisionError: integer division or modulo
>>> 4 + spam*3
Traceback (most recent call last):
File "<stdin>", line 1, in ?
NameError: spam
NameError: name 'spam' is not defined
>>> '2' + 2
Traceback (most recent call last):
File "<stdin>", line 1, in ?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment