diff options
-rw-r--r-- | Doc/doc/doc.tex | 3 | ||||
-rw-r--r-- | Doc/texinputs/python.sty | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Doc/doc/doc.tex b/Doc/doc/doc.tex index 7d84a4b..dddb9a9 100644 --- a/Doc/doc/doc.tex +++ b/Doc/doc/doc.tex @@ -790,7 +790,8 @@ This \UNIX\ is also followed by a space. \begin{macrodesc}{e}{} Produces a backslash. This is convenient in \macro{code}, - \macro{file}, and similar macros, and is only defined there. To + \macro{file}, and similar macros, and the \env{alltt} + environment, and is only defined there. To create a backslash in ordinary text (such as the contents of the \macro{citetitle} macro), use the standard \macro{textbackslash} macro. diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index 734ffa3..770499e 100644 --- a/Doc/texinputs/python.sty +++ b/Doc/texinputs/python.sty @@ -236,6 +236,7 @@ % Calculate the text width for the minipage: \setlength{\py@codewidth}{\linewidth}% \addtolength{\py@codewidth}{-\parindent}% + \let\e=\textbackslash% % \par\indent% \begin{minipage}[t]{\py@codewidth}% |