summaryrefslogtreecommitdiffstats
path: root/Doc/perl
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-04-08 15:30:12 (GMT)
committerFred Drake <fdrake@acm.org>2004-04-08 15:30:12 (GMT)
commit899072ab7166283655812fb0de4dcde52d043b93 (patch)
treeb178353adfeb5271cf86be58bc14591cc950e937 /Doc/perl
parentd0c0c41fe990dd7ce9861953d1c32ca4eb76fb6e (diff)
downloadcpython-899072ab7166283655812fb0de4dcde52d043b93.zip
cpython-899072ab7166283655812fb0de4dcde52d043b93.tar.gz
cpython-899072ab7166283655812fb0de4dcde52d043b93.tar.bz2
avoid stripping space after indexing macros
Diffstat (limited to 'Doc/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 c4bd400..d2466b1 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>" . $_;
}