summaryrefslogtreecommitdiffstats
path: root/Doc/perl
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-12-11 20:49:23 (GMT)
committerFred Drake <fdrake@acm.org>2001-12-11 20:49:23 (GMT)
commitbe6dd3083cb139c4e010ca9e87a27efa2e5f5464 (patch)
tree92e905d727382293665aa16aa7f46224610ed6fb /Doc/perl
parent90294d01be806a96f5196143e4d9ea10a6064965 (diff)
downloadcpython-be6dd3083cb139c4e010ca9e87a27efa2e5f5464.zip
cpython-be6dd3083cb139c4e010ca9e87a27efa2e5f5464.tar.gz
cpython-be6dd3083cb139c4e010ca9e87a27efa2e5f5464.tar.bz2
Remove crufty whitespace in a block of index entries.
Minor, but generates slightly smaller HTML & makes it easier to see what's happening when debugging the HTML.
Diffstat (limited to 'Doc/perl')
-rw-r--r--Doc/perl/python.perl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl
index 88f2aa5..9bd22fd 100644
--- a/Doc/perl/python.perl
+++ b/Doc/perl/python.perl
@@ -441,6 +441,7 @@ sub do_cmd_withsubitem{
my $stuff = next_argument();
my $br_id = ++$globals{'max_id'};
my $marker = "$O$br_id$C";
+ $stuff =~ s/^\s+//;
return
$stuff
. "\\setindexsubitem$marker$oldsubitem$marker"