Mercurial > cpython-lru_cache-weakref
diff Doc/perl/python.perl @ 20336:1b3ffdf12150 legacy-trunk
New markup: \note{...} and \warning{...}
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Tue, 09 Oct 2001 18:01:23 +0000 |
| parents | 12a787fb71df |
| children | 61e8f01de821 |
line wrap: on
line diff
--- a/Doc/perl/python.perl Tue Oct 09 16:18:45 2001 +0000 +++ b/Doc/perl/python.perl Tue Oct 09 18:01:23 2001 +0000 @@ -236,6 +236,16 @@ return use_wrappers(@_[0], '<b>', '</b>'); } sub do_cmd_textit{ return use_wrappers(@_[0], '<i>', '</i>'); } +sub do_cmd_note{ + return use_wrappers( + @_[0], + "<span class=\"note\"><b class=\"label\">Note:</b>\n", + '</span>'); } +sub do_cmd_warning{ + return use_wrappers( + @_[0], + "<span class=\"warning\"><b class=\"label\">Warning:</b>\n", + '</span>'); } sub do_cmd_moreargs{ return '...' . @_[0]; }
