Message for NameError has changed
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex
index 49f36b7..dcf84cb 100644
--- a/Doc/tut/tut.tex
+++ b/Doc/tut/tut.tex
@@ -3090,7 +3090,7 @@
 >>> 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 ?