diff options
author | Fred Drake <fdrake@acm.org> | 1998-04-17 02:45:41 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-04-17 02:45:41 (GMT) |
commit | d579ed8239589dc6a48ae670dd48a6aebf37dcca (patch) | |
tree | 9b185295c4298fdf9581c60aeb2c984f2a05bdd7 /Doc/texinputs/python.sty | |
parent | 300775d2223eaaf448db692bd8a7a0cf7aca970e (diff) | |
download | cpython-d579ed8239589dc6a48ae670dd48a6aebf37dcca.zip cpython-d579ed8239589dc6a48ae670dd48a6aebf37dcca.tar.gz cpython-d579ed8239589dc6a48ae670dd48a6aebf37dcca.tar.bz2 |
Shift (re-)definition of \theindex to the document classes so that it doesn't
break HOWTO documents.
Diffstat (limited to 'Doc/texinputs/python.sty')
-rw-r--r-- | Doc/texinputs/python.sty | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index 831143f..d98c4b1 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 |