mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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.
This commit is contained in:
parent
1a1607546c
commit
9240be2a35
1 changed files with 2 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue