From: Fred Drake Date: Tue, 11 Dec 2001 20:49:23 +0000 (+0000) Subject: Remove crufty whitespace in a block of index entries. X-Git-Tag: v2.2.1c1~418 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be6dd3083cb139c4e010ca9e87a27efa2e5f5464;p=python 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. --- diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index 88f2aa539d..9bd22fd9fc 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"