diff Doc/texinputs/python.sty @ 31507:354129143809 legacy-trunk

add support for \e to the {alltt} environment
author Fred Drake <fdrake@acm.org>
date Tue, 10 Feb 2004 18:30:22 +0000
parents 51c3d452af2f
children 64cc163eeaf1
line wrap: on
line diff
--- a/Doc/texinputs/python.sty	Tue Feb 10 18:07:16 2004 +0000
+++ b/Doc/texinputs/python.sty	Tue Feb 10 18:30:22 2004 +0000
@@ -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}%