diff options
author | Fred Drake <fdrake@acm.org> | 2000-04-10 17:47:14 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-04-10 17:47:14 (GMT) |
commit | adb272ceeed1fe6e2af2e51982c305066cec7244 (patch) | |
tree | 8fa65cdeb1376a363544bc008032f8ac0d993145 | |
parent | 6e277cf7deb76ec83e8fe67ee78e9d9cb7977814 (diff) | |
download | cpython-adb272ceeed1fe6e2af2e51982c305066cec7244.zip cpython-adb272ceeed1fe6e2af2e51982c305066cec7244.tar.gz cpython-adb272ceeed1fe6e2af2e51982c305066cec7244.tar.bz2 |
do_cmd_datalineni(): New function, to implement the non-indexing form
of \dataline.
-rw-r--r-- | Doc/perl/python.perl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index 6b67df5..c6306dc 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -773,6 +773,12 @@ sub do_cmd_dataline{ return "<dt><b>$idx</b><dd>" . $_; } +sub do_cmd_datalineni{ + local($_) = @_; + my $data_name = next_argument(); + return "<dt><b><tt>$data_name</tt></b><dd>" . $_; +} + sub do_env_excdesc{ local($_) = @_; my $excname = next_argument(); |