summaryrefslogtreecommitdiffstats
path: root/Doc/texinputs
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-11-04 16:29:31 (GMT)
committerFred Drake <fdrake@acm.org>2002-11-04 16:29:31 (GMT)
commit2eba52fefb905b7464129fdeb2534a02f5b3f3f3 (patch)
tree25b40dcfed15a6a860c5de023f90121c5ab267dc /Doc/texinputs
parente2d1214c42a4fb4a931c17dc07e11b02816528ff (diff)
downloadcpython-2eba52fefb905b7464129fdeb2534a02f5b3f3f3.zip
cpython-2eba52fefb905b7464129fdeb2534a02f5b3f3f3.tar.gz
cpython-2eba52fefb905b7464129fdeb2534a02f5b3f3f3.tar.bz2
Thinking on comp.text.tex seems to be that it's better to override
\@makefntext than \@footnotetext, so we'll do that instead.
Diffstat (limited to 'Doc/texinputs')
-rw-r--r--Doc/texinputs/python.sty6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index 331197e..b4744d7 100644
--- a/Doc/texinputs/python.sty
+++ b/Doc/texinputs/python.sty
@@ -137,11 +137,11 @@
% Set up abstract ways to get the normal and smaller font sizes that
% work even in footnote context.
\newif\ifpy@infootnote \py@infootnotefalse
-\let\py@oldfootnotetext\@footnotetext
-\def\@footnotetext#1{%
+\let\py@oldmakefntext\@makefntext
+\def\@makefntext#1{%
\bgroup%
\py@infootnotetrue
- \py@oldfootnotetext{#1}%
+ \py@oldmakefntext{#1}%
\egroup%
}
\def\py@defaultsize{%