diff options
author | Fred Drake <fdrake@acm.org> | 1998-09-10 18:59:13 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-09-10 18:59:13 (GMT) |
commit | d64a40dbc0913313fda08e6332660ef2c603ba48 (patch) | |
tree | ca1ca5603e6a509190f962f8176bcd881f1c4652 /Doc/perl/python.perl | |
parent | 9b134bf716eecf5afa11259fdc720a26bcce15f0 (diff) | |
download | cpython-d64a40dbc0913313fda08e6332660ef2c603ba48.zip cpython-d64a40dbc0913313fda08e6332660ef2c603ba48.tar.gz cpython-d64a40dbc0913313fda08e6332660ef2c603ba48.tar.bz2 |
do_cmd_methodlineni(): New function, needed because the ref. manual now
actually uses this markup.
Diffstat (limited to 'Doc/perl/python.perl')
-rw-r--r-- | Doc/perl/python.perl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index 065f602..9eaf36c 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -662,6 +662,15 @@ sub do_env_methoddesc{ } +sub do_cmd_methodlineni{ + local($_) = @_; + next_optional_argument(); + my $method = next_argument(); + my $arg_list = next_argument(); + return "<dt><b>$method</b> (<var>$arg_list</var>)\n<dd>" + . $_; +} + sub do_env_methoddescni{ local($_) = @_; next_optional_argument(); |