summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorge Yoshida <dynkin@gmail.com>2006-05-20 15:36:19 (GMT)
committerGeorge Yoshida <dynkin@gmail.com>2006-05-20 15:36:19 (GMT)
commit6fffa5e86599f621f72a10f919c02d8e44f26356 (patch)
tree0269fdcdf7117d429b04e02f60234a15322cee08 /Doc
parent306b1f31b745b753430c8dd7cc4faa58d0056be3 (diff)
downloadcpython-6fffa5e86599f621f72a10f919c02d8e44f26356.zip
cpython-6fffa5e86599f621f72a10f919c02d8e44f26356.tar.gz
cpython-6fffa5e86599f621f72a10f919c02d8e44f26356.tar.bz2
- markup fix
- add clarifying words
Diffstat (limited to 'Doc')
-rw-r--r--Doc/ref/ref2.tex2
-rw-r--r--Doc/ref/ref6.tex7
2 files changed, 5 insertions, 4 deletions
diff --git a/Doc/ref/ref2.tex b/Doc/ref/ref2.tex
index 34e8a9e..5971dab 100644
--- a/Doc/ref/ref2.tex
+++ b/Doc/ref/ref2.tex
@@ -652,7 +652,7 @@ Some examples of floating point literals:
\end{verbatim}
Note that numeric literals do not include a sign; a phrase like
-\code{-1} is actually an expression composed of the operator
+\code{-1} is actually an expression composed of the unary operator
\code{-} and the literal \code{1}.
diff --git a/Doc/ref/ref6.tex b/Doc/ref/ref6.tex
index e49f12c..04db013 100644
--- a/Doc/ref/ref6.tex
+++ b/Doc/ref/ref6.tex
@@ -809,13 +809,14 @@ import __future__ [as name]
That is not a future statement; it's an ordinary import statement with
no special semantics or syntax restrictions.
-Code compiled by an exec statement or calls to the builtin functions
+Code compiled by an \keyword{exec} statement or calls to the builtin functions
\function{compile()} and \function{execfile()} that occur in a module
\module{M} containing a future statement will, by default, use the new
syntax or semantics associated with the future statement. This can,
starting with Python 2.2 be controlled by optional arguments to
-\function{compile()} --- see the documentation of that function in the
-library reference for details.
+\function{compile()} --- see the documentation of that function in the
+\citetitle[../lib/built-in-funcs.html]{Python Library Reference} for
+details.
A future statement typed at an interactive interpreter prompt will
take effect for the rest of the interpreter session. If an