aboutsummaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-04-08 15:46:56 +0000
committerFred Drake <fdrake@acm.org>2004-04-08 15:46:56 +0000
commit820fd04f8189a1676b3196f540eb22b4278120aa (patch)
tree664414fd6351b1987a0415c2f10d407f7e76f9d6 /Doc
parentBackport to 2.3 to support Zope 2.7 on OS/2: (diff)
downloadcpython-820fd04f8189a1676b3196f540eb22b4278120aa.tar.gz
cpython-820fd04f8189a1676b3196f540eb22b4278120aa.tar.bz2
cpython-820fd04f8189a1676b3196f540eb22b4278120aa.zip
avoid stripping space after indexing macros
Diffstat (limited to 'Doc')
-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 3930bd58698..c752040b9b1 100644
--- a/Doc/perl/python.perl
+++ b/Doc/perl/python.perl
@@ -574,9 +574,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>" . $_;
}