diff options
author | Fred Drake <fdrake@acm.org> | 1996-11-11 20:51:09 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1996-11-11 20:51:09 (GMT) |
commit | 446402279921d96c3e98c6f59715827c5165be94 (patch) | |
tree | ebe888d748ff4ac3d6d762bc3fa9f63fb4f51905 | |
parent | b33021b5723465c8e212d339b8c0fa80dd54d248 (diff) | |
download | cpython-446402279921d96c3e98c6f59715827c5165be94.zip cpython-446402279921d96c3e98c6f59715827c5165be94.tar.gz cpython-446402279921d96c3e98c6f59715827c5165be94.tar.bz2 |
(myformat.perl): Simplify generated HTML for "\optional{...}".
-rw-r--r-- | Doc/myformat.perl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/myformat.perl b/Doc/myformat.perl index b833ab7..5d0fb54 100644 --- a/Doc/myformat.perl +++ b/Doc/myformat.perl @@ -6,7 +6,7 @@ # # XXX Not complete: \indexii etc.; \funcitem etc. -package main; +package main; # \bcode and \ecode brackets around verbatim @@ -28,7 +28,7 @@ sub do_cmd_e{ "\\" } sub do_cmd_optional{ local($_) = @_; - s/$any_next_pair_pr_rx/<BIG>\[<\/BIG><VAR>\2<\/VAR><BIG>\]<\/BIG>/; + s/$any_next_pair_pr_rx/<BIG>\[<\/BIG>\2<BIG>\]<\/BIG>/; $_; } |