]> granicus.if.org Git - python/commitdiff
Note change in behavior from 1.5.2. The new argument to NameError is
authorRaymond Hettinger <python@rcn.com>
Tue, 27 Aug 2002 23:53:23 +0000 (23:53 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 27 Aug 2002 23:53:23 +0000 (23:53 +0000)
an error message and not just the missing name.

Closes SF Bug 599869.

Doc/lib/libexcs.tex

index 86b5281d46bf4910f301c25b71c517bd70ac8f5a..078fe3c12aa01d179bbab5e7b65cb3be084b93e8 100644 (file)
@@ -206,8 +206,8 @@ Raised when an \keyword{assert} statement fails.
 
 \begin{excdesc}{NameError}
   Raised when a local or global name is not found.  This applies only
-  to unqualified names.  The associated value is the name that could
-  not be found.
+  to unqualified names.  The associated value is an error message that
+  includes the name that could not be found.
 \end{excdesc}
 
 \begin{excdesc}{NotImplementedError}