]> git.ipfire.org Git - thirdparty/Python/cpython.git/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:54:57 +0000 (23:54 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 27 Aug 2002 23:54:57 +0000 (23:54 +0000)
an error message and not just the missing name.

Closes SF Bug 599869.

Doc/lib/libexcs.tex

index f4b1d154eea5ac8726ab1426ea34f3191d88538e..2ca631fbd8a7282c6b38c9904616aa0cb2132e85 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}