mirror of
https://github.com/python/cpython.git
synced 2025-10-30 18:07:37 +00:00
Work around the broken formatting of sys.ps1 prompts in running text.
Move sample sessions to the left margin of the file for consistency; formatting can adjust the margin if needed. This closes SF bug #133213.
This commit is contained in:
parent
2f55b11bf7
commit
19f3c52347
1 changed files with 48 additions and 46 deletions
|
|
@ -274,9 +274,10 @@ the business of guessing what you think a tab means).
|
||||||
>>>
|
>>>
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
Any expected output must immediately follow the final \code{">>>"} or
|
Any expected output must immediately follow the final
|
||||||
\code{"..."} line containing the code, and the expected output (if any)
|
\code{'>\code{>}>~'} or \code{'...~'} line containing the code, and
|
||||||
extends to the next \code{">>>"} or all-whitespace line.
|
the expected output (if any) extends to the next \code{'>\code{>}>~'}
|
||||||
|
or all-whitespace line.
|
||||||
|
|
||||||
The fine print:
|
The fine print:
|
||||||
|
|
||||||
|
|
@ -310,8 +311,9 @@ yes
|
||||||
1.0
|
1.0
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
and as many leading whitespace characters are stripped from the expected
|
and as many leading whitespace characters are stripped from the
|
||||||
output as appeared in the initial ">>>" line that triggered it.
|
expected output as appeared in the initial \code{'>\code{>}>~'} line
|
||||||
|
that triggered it.
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
\subsection{Warnings}
|
\subsection{Warnings}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue