Mercurial > cpython-lru_cache-weakref
diff Doc/perl/python.perl @ 25644:199f0f6a8a36 2.2
Back-port part of 1.128 from the trunk:
\productioncont: Replace leading spaces with so that it's
possible to control the indentation of continuation lines.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Mon, 07 Oct 2002 16:18:57 +0000 |
| parents | 74de86418284 |
| children | 9c7aa43b21a9 |
line wrap: on
line diff
--- a/Doc/perl/python.perl Mon Oct 07 13:24:02 2002 +0000 +++ b/Doc/perl/python.perl Mon Oct 07 16:18:57 2002 +0000 @@ -808,6 +808,7 @@ sub do_cmd_productioncont{ local($_) = @_; my $defn = next_argument(); + $defn =~ s/^( +)/' ' x length $1/e; return ("<tr valign=\"baseline\">\n" . " <td> </td>\n" . " <td> </td>\n"
