]> granicus.if.org Git - python/commitdiff
define_module(): Change the "index sub-item" for definitions at module
authorFred Drake <fdrake@acm.org>
Mon, 30 Oct 2000 06:24:56 +0000 (06:24 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 30 Oct 2000 06:24:56 +0000 (06:24 +0000)
                  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.

Doc/perl/python.perl

index 76d54f1ab0277bf520c3a39b48fbf1af8e6ce05e..da3cf9feaa6642bf66d3705fa771541ca990045d 100644 (file)
@@ -607,7 +607,7 @@ sub define_module{
     }
     $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');