From: George Yoshida Date: Sun, 23 Apr 2006 09:27:10 +0000 (+0000) Subject: wrap SyntaxError with \exception{} X-Git-Tag: v2.5a2~63 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a1d3b1011e9e2db1e163a99081400e56fe09f35a;p=python wrap SyntaxError with \exception{} --- diff --git a/Doc/ref/ref4.tex b/Doc/ref/ref4.tex index 6a3a4ef8a5..dcdc823255 100644 --- a/Doc/ref/ref4.tex +++ b/Doc/ref/ref4.tex @@ -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