summaryrefslogtreecommitdiff
path: root/Doc/perl/python.perl
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-04-08 15:30:12 +0000
committerFred Drake <fdrake@acm.org>2004-04-08 15:30:12 +0000
commit899072ab7166283655812fb0de4dcde52d043b93 (patch)
treeb178353adfeb5271cf86be58bc14591cc950e937 /Doc/perl/python.perl
parentd0c0c41fe990dd7ce9861953d1c32ca4eb76fb6e (diff)
downloadcpython-git-899072ab7166283655812fb0de4dcde52d043b93.tar.gz
avoid stripping space after indexing macros
Diffstat (limited to 'Doc/perl/python.perl')
-rw-r--r--Doc/perl/python.perl7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl
index c4bd4005e5..d2466b1cd5 100644
--- a/Doc/perl/python.perl
+++ b/Doc/perl/python.perl
@@ -579,9 +579,10 @@ sub process_index_macros($$){
&$cmd($ahref);
}
}
- if (/^[ \t\r\n]/) {
- $_ = substr($_, 1);
- }
+# XXX I don't remember why I added this to begin with.
+# if (/^[ \t\r\n]/) {
+# $_ = substr($_, 1);
+# }
return "$aname$anchor_invisible_mark</a>" . $_;
}