summaryrefslogtreecommitdiffstats
path: root/Doc/ref
diff options
context:
space:
mode:
authorGeorge Yoshida <dynkin@gmail.com>2006-04-23 09:27:10 (GMT)
committerGeorge Yoshida <dynkin@gmail.com>2006-04-23 09:27:10 (GMT)
commita1d3b1011e9e2db1e163a99081400e56fe09f35a (patch)
treeb340107656e0552005f14992d7dee3977d158050 /Doc/ref
parentab05edc0d1fd6369cb6aa6175af68e0c0c00c60a (diff)
downloadcpython-a1d3b1011e9e2db1e163a99081400e56fe09f35a.zip
cpython-a1d3b1011e9e2db1e163a99081400e56fe09f35a.tar.gz
cpython-a1d3b1011e9e2db1e163a99081400e56fe09f35a.tar.bz2
wrap SyntaxError with \exception{}
Diffstat (limited to 'Doc/ref')
-rw-r--r--Doc/ref/ref4.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ref/ref4.tex b/Doc/ref/ref4.tex
index 6a3a4ef..dcdc823 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