]> granicus.if.org Git - python/commitdiff
Message for NameError has changed
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 2 May 2002 14:31:55 +0000 (14:31 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 2 May 2002 14:31:55 +0000 (14:31 +0000)
Doc/tut/tut.tex

index 49f36b7a94261dcba779221f5caf743d33d36e3a..dcf84cbffd0ef31f45b03d0741bb63c600503a46 100644 (file)
@@ -3090,7 +3090,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 ?