Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d540509

Browse files
committed
Changes copied from the FrameMaker version. Hardly anything (but then
this is the shortest chapter.) Hurray, I'm done with this!
1 parent 5399d68 commit d540509

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

Doc/ref/ref8.tex

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ \section{Complete Python programs}
1616
available, but none have been initialized, except for \module{sys}
1717
(various system services), \module{__builtin__} (built-in functions,
1818
exceptions and \code{None}) and \module{__main__}. The latter is used
19-
to provide the local and global name space for execution of the
19+
to provide the local and global namespace for execution of the
2020
complete program.
2121
\refbimodindex{sys}
2222
\refbimodindex{__main__}
@@ -28,8 +28,8 @@ \section{Complete Python programs}
2828
The interpreter may also be invoked in interactive mode; in this case,
2929
it does not read and execute a complete program but reads and executes
3030
one statement (possibly compound) at a time. The initial environment
31-
is identical to that of a complete program; each statement is executed
32-
in the name space of \module{__main__}.
31+
is identical to that of a coplete program; each statement is executed
32+
in the namespace of \module{__main__}.
3333
\index{interactive mode}
3434
\refbimodindex{__main__}
3535

@@ -80,19 +80,18 @@ \section{Expression input}
8080

8181
There are two forms of expression input. Both ignore leading
8282
whitespace.
83-
8483
The string argument to \function{eval()} must have the following form:
8584
\bifuncindex{eval}
8685

8786
\begin{verbatim}
88-
eval_input: condition_list NEWLINE*
87+
eval_input: expression_list NEWLINE*
8988
\end{verbatim}
9089

9190
The input line read by \function{input()} must have the following form:
9291
\bifuncindex{input}
9392

9493
\begin{verbatim}
95-
input_input: condition_list NEWLINE
94+
input_input: expression_list NEWLINE
9695
\end{verbatim}
9796

9897
Note: to read `raw' input line without interpretation, you can use the

0 commit comments

Comments
 (0)