summaryrefslogtreecommitdiffstats
path: root/Doc/perl
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-07-16 14:01:56 (GMT)
committerFred Drake <fdrake@acm.org>2003-07-16 14:01:56 (GMT)
commitbd5fdd93a9484accb188bc7ef62d2d1af937149a (patch)
tree20a412df8a4c2eacce270a2847678326490e3e89 /Doc/perl
parenta66b6c12672a8961952e20eac58292d422b5ecb9 (diff)
downloadcpython-bd5fdd93a9484accb188bc7ef62d2d1af937149a.zip
cpython-bd5fdd93a9484accb188bc7ef62d2d1af937149a.tar.gz
cpython-bd5fdd93a9484accb188bc7ef62d2d1af937149a.tar.bz2
Make it easier to figure out the where a menuselection starts and ends
by controling the font.
Diffstat (limited to 'Doc/perl')
-rw-r--r--Doc/perl/python.perl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl
index cd04ee5..7d50e49 100644
--- a/Doc/perl/python.perl
+++ b/Doc/perl/python.perl
@@ -95,7 +95,8 @@ sub do_cmd_textless{ '&lt;' . $_[0]; }
sub do_cmd_textunderscore{ '_' . $_[0]; }
sub do_cmd_infinity{ '&infin;' . $_[0]; }
sub do_cmd_plusminus{ '&plusmn;' . $_[0]; }
-sub do_cmd_menuselection{ $_[0]; }
+sub do_cmd_menuselection{
+ return use_wrappers($_[0], '<span class="menuselection">', '</span>'); }
sub do_cmd_sub{ ' > ' . $_[0]; }