]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
wrap SyntaxError with \exception{}
authorGeorge Yoshida <dynkin@gmail.com>
Sun, 23 Apr 2006 09:28:10 +0000 (09:28 +0000)
committerGeorge Yoshida <dynkin@gmail.com>
Sun, 23 Apr 2006 09:28:10 +0000 (09:28 +0000)
Doc/ref/ref4.tex

index dbd6a2f8e93b3db728bd9f094d792765c807e4b6..269953ba6f86d6fde11d111db728fcbba73247a8 100644 (file)
@@ -127,7 +127,7 @@ to delete the name.  An error will be reported at compile time.
 
 If the wild card form of import --- \samp{import *} --- is used in a
 function and the function contains or is a nested block with free
-variables, the compiler will raise a SyntaxError.
+variables, the compiler will raise a \exception{SyntaxError}.
 
 If \keyword{exec} is used in a function and the function contains or
 is a nested block with free variables, the compiler will raise a