summaryrefslogtreecommitdiff
path: root/Doc/texinputs/python.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/texinputs/python.sty')
-rw-r--r--Doc/texinputs/python.sty11
1 files changed, 0 insertions, 11 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index 831143f632..d98c4b1ef9 100644
--- a/Doc/texinputs/python.sty
+++ b/Doc/texinputs/python.sty
@@ -286,17 +286,6 @@
\newif\if@UseModuleIndex
\@UseModuleIndexfalse
-% Fix the theindex environment to add an entry to the Table of
-% Contents; this is much nicer than just having to jump to the end of
-% the book and flip around, especially with multiple indexes.
-%
-\let\OldTheindex=\theindex
-\renewcommand{\theindex}{
- \cleardoublepage
- \OldTheindex
- \addcontentsline{toc}{chapter}{\indexname}
-}
-
\newcommand{\makemodindex}{
\newwrite\modindexfile
\openout\modindexfile=mod\jobname.idx