]> granicus.if.org Git - python/commitdiff
wrap SyntaxError with \exception{}
authorGeorge Yoshida <dynkin@gmail.com>
Sun, 23 Apr 2006 09:27:10 +0000 (09:27 +0000)
committerGeorge Yoshida <dynkin@gmail.com>
Sun, 23 Apr 2006 09:27:10 +0000 (09:27 +0000)
Doc/ref/ref4.tex

index 6a3a4ef8a5714e24c97e48b890040d3967cce00c..dcdc8232552e6ef8beaf47d38cb6b760b4736b59 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