summaryrefslogtreecommitdiff
path: root/sphinx/texinputs/python.sty
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/texinputs/python.sty')
-rw-r--r--sphinx/texinputs/python.sty4
1 files changed, 4 insertions, 0 deletions
diff --git a/sphinx/texinputs/python.sty b/sphinx/texinputs/python.sty
index 9ae7dd57..572a6fbc 100644
--- a/sphinx/texinputs/python.sty
+++ b/sphinx/texinputs/python.sty
@@ -330,6 +330,10 @@
\py@UseModuleIndextrue
}
+\newcommand{\printmodindex}{
+ \@input@{mod\jobname.ind}
+}
+
% Add the defining entry for a module
\newcommand{\py@modindex}[2]{%
\renewcommand{\py@thismodule}{#1}