mirror of
https://github.com/python/cpython.git
synced 2025-11-18 01:57:37 +00:00
Work around the conversion of ">>" and "<<" to guillemets. Reported by Ping.
This commit is contained in:
parent
705088e65f
commit
c054c75582
2 changed files with 2 additions and 2 deletions
|
|
@ -364,7 +364,7 @@ running Python in interactive mode and typing a few simple commands.
|
||||||
Under \UNIX, just type \code{python} at the shell prompt; under Windows,
|
Under \UNIX, just type \code{python} at the shell prompt; under Windows,
|
||||||
run ``Python 2.0 (interpreter)'' \XXX{right?}; under MacOS, \XXX{???}.
|
run ``Python 2.0 (interpreter)'' \XXX{right?}; under MacOS, \XXX{???}.
|
||||||
Once the interpreter is started, you type Python code at the
|
Once the interpreter is started, you type Python code at the
|
||||||
\samp{>>> } prompt. For example, on my Linux system, I type the three
|
\samp{>\code{>}> } prompt. For example, on my Linux system, I type the three
|
||||||
Python statements shown below, and get the output as shown, to find
|
Python statements shown below, and get the output as shown, to find
|
||||||
out my \filevar{prefix} and \filevar{exec-prefix}:
|
out my \filevar{prefix} and \filevar{exec-prefix}:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ was provided. The output is divided in the following columns:
|
||||||
|
|
||||||
\begin{enumerate}
|
\begin{enumerate}
|
||||||
\item the current instruction, indicated as \samp{-->},
|
\item the current instruction, indicated as \samp{-->},
|
||||||
\item a labelled instruction, indicated with \samp{>>},
|
\item a labelled instruction, indicated with \samp{>\code{>}},
|
||||||
\item the address of the instruction,
|
\item the address of the instruction,
|
||||||
\item the operation code name,
|
\item the operation code name,
|
||||||
\item operation parameters, and
|
\item operation parameters, and
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue