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.
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl
index 76d54f1..da3cf9f 100644
--- a/Doc/perl/python.perl
+++ b/Doc/perl/python.perl
@@ -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');