summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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{%