summaryrefslogtreecommitdiffstats
path: root/Doc/perl
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-30 06:24:56 (GMT)
committerFred Drake <fdrake@acm.org>2000-10-30 06:24:56 (GMT)
commit5942b439b366b83880a2678793d36b931acef75b (patch)
treed7f5437a6be1ad95e72fdc9f459569a87dbb6823 /Doc/perl
parentec77e6590d3b7379b07bc777b3cd1bbeb15ef8db (diff)
downloadcpython-5942b439b366b83880a2678793d36b931acef75b.zip
cpython-5942b439b366b83880a2678793d36b931acef75b.tar.gz
cpython-5942b439b366b83880a2678793d36b931acef75b.tar.bz2
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.
Diffstat (limited to 'Doc/perl')
-rw-r--r--Doc/perl/python.perl2
1 files changed, 1 insertions, 1 deletions
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 @@ 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');