diff Doc/texinputs/python.sty @ 26015:5be5c84dea23 legacy-trunk

Thinking on comp.text.tex seems to be that it's better to override \@makefntext than \@footnotetext, so we'll do that instead.
author Fred Drake <fdrake@acm.org>
date Mon, 04 Nov 2002 16:29:31 +0000
parents d812b8aaefb3
children d177dd0ca8f7
line wrap: on
line diff
--- a/Doc/texinputs/python.sty	Mon Nov 04 14:27:43 2002 +0000
+++ b/Doc/texinputs/python.sty	Mon Nov 04 16:29:31 2002 +0000
@@ -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{%