]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport 1.161: Message for NameError has changed.
authorRaymond Hettinger <python@rcn.com>
Sat, 5 Oct 2002 05:04:07 +0000 (05:04 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 5 Oct 2002 05:04:07 +0000 (05:04 +0000)
Doc/tut/tut.tex

index 444e7d97c614cd8764d4e54e94f67d52b8d52512..a9ae9b41cb5af5ceb02fd849c01c9b6fff505585 100644 (file)
@@ -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 ?