diff options
author | Fred Drake <fdrake@acm.org> | 1998-07-27 20:33:17 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-07-27 20:33:17 (GMT) |
commit | 897d12bb87f269797d54e0a15583a01f44c2a49a (patch) | |
tree | 2d426dab81065835c42a3224c55d7f5c4922e11a | |
parent | af958c7be2602ee76496b7cbdb2e52903446eaa6 (diff) | |
download | cpython-897d12bb87f269797d54e0a15583a01f44c2a49a.zip cpython-897d12bb87f269797d54e0a15583a01f44c2a49a.tar.gz cpython-897d12bb87f269797d54e0a15583a01f44c2a49a.tar.bz2 |
do_cmd_versionadded(),
do_cmd_versionchanged(): Support for new macros.
-rw-r--r-- | Doc/perl/python.perl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index 107ed54..6695e54 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -225,6 +225,20 @@ sub do_cmd_deprecated{ "<b>Deprecated since release $release.</b>\n$reason<p>" . $_; } +sub do_cmd_versionadded{ + # one parameter: \versionadded{version} + local($_) = @_; + my $release = next_argument(); + "<b>New in version $release.</b><p>" . $_; +} + +sub do_cmd_versionchanged{ + # one parameter: \versionchanged{version} + local($_) = @_; + my $release = next_argument(); + "<b>Changed in version $release.</b><p>" . $_; +} + # file and samp are at the end of this file since they screw up fontlock. # index commands |