diff Doc/perl/python.perl @ 15363:47d9fbe6537c legacy-trunk

define_module(): Change the "index sub-item" for definitions at module scope to be " (in module <name>)" instead of " (in <name>)" to be consistent with \withsubitem usage throughout the documentation. This achieves consistency in indexing throughout the documentation.
author Fred Drake <fdrake@acm.org>
date Mon, 30 Oct 2000 06:24:56 +0000
parents 0c19672d47bb
children a79d3624f845
line wrap: on
line diff
--- a/Doc/perl/python.perl	Mon Oct 30 06:22:22 2000 +0000
+++ b/Doc/perl/python.perl	Mon Oct 30 06:24:56 2000 +0000
@@ -607,7 +607,7 @@
     }
     $word = "$word " if $word;
     $THIS_MODULE = "$name";
-    $INDEX_SUBITEM = "(in $name)";
+    $INDEX_SUBITEM = "(in module $name)";
     print "[$name]";
     return make_mod_index_entry(
         "<tt class='module'>$name</tt> (${word}module)", 'DEF');