Commit 9240be2a authored by Raymond Hettinger's avatar Raymond Hettinger

Note change in behavior from 1.5.2. The new argument to NameError is

an error message and not just the missing name.

Closes SF Bug 599869.
parent 1a160754
......@@ -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}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment