Mercurial > cpython-lru_cache-weakref
diff Doc/perl/python.perl @ 9085:e943f9c09901 legacy-trunk
do_cmd_methodlineni(): New function, needed because the ref. manual now
actually uses this markup.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Thu, 10 Sep 1998 18:59:13 +0000 |
| parents | e55a79ff8228 |
| children | f50b9cc76c1e |
line wrap: on
line diff
--- a/Doc/perl/python.perl Thu Sep 10 18:42:55 1998 +0000 +++ b/Doc/perl/python.perl Thu Sep 10 18:59:13 1998 +0000 @@ -662,6 +662,15 @@ } +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();
