From: Raymond Hettinger Date: Tue, 27 Aug 2002 23:54:57 +0000 (+0000) Subject: Note change in behavior from 1.5.2. The new argument to NameError is X-Git-Tag: v2.2.2b1~188 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1fec57f45e06383af22dea4a8a4ca12a1ca9b09d;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex index f4b1d154eea5..2ca631fbd8a7 100644 --- a/Doc/lib/libexcs.tex +++ b/Doc/lib/libexcs.tex @@ -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}