diff options
author | Fred Drake <fdrake@acm.org> | 1999-02-02 18:02:48 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-02-02 18:02:48 (GMT) |
commit | 2116d983bfb2c205c7974c0bc34123de595a1121 (patch) | |
tree | 48160fa63abda4bdc1e6b6a4118825f100e782b9 /Doc | |
parent | d0bceeeb594d8dc955dce27f8f8f867187d6e75c (diff) | |
download | cpython-2116d983bfb2c205c7974c0bc34123de595a1121.zip cpython-2116d983bfb2c205c7974c0bc34123de595a1121.tar.gz cpython-2116d983bfb2c205c7974c0bc34123de595a1121.tar.bz2 |
Make \versionadded and \versionchanged less prominant -- neither bold
nor a separate paragraph.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/perl/python.perl | 4 | ||||
-rw-r--r-- | Doc/texinputs/python.sty | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index d982f56..7f7d010 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -219,14 +219,14 @@ sub do_cmd_versionadded{ # one parameter: \versionadded{version} local($_) = @_; my $release = next_argument(); - return "<b>New in version $release.</b><p>" . $_; + return "\nNew in version $release.\n" . $_; } sub do_cmd_versionchanged{ # one parameter: \versionchanged{version} local($_) = @_; my $release = next_argument(); - return "<b>Changed in version $release.</b><p>" . $_; + return "\nChanged in version $release.\n" . $_; } # file and samp are at the end of this file since they screw up fontlock. diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index 3ed1255..6bf8eb1 100644 --- a/Doc/texinputs/python.sty +++ b/Doc/texinputs/python.sty @@ -746,15 +746,15 @@ % This should be used to mark things which have been added to the % development tree but that aren't in the release, but are documented. % This allows release of documentation that already includes updated -% descriptions. +% descriptions. Place at end of descriptor environment. % % Example: % \versionadded{1.5.2} % \newcommand{\versionadded}[1]{% - \strong{New in version #1.}\par} + { New in version #1. }} \newcommand{\versionchanged}[1]{% - \strong{Changed in version #1.}\par} + { Changed in version #1. }} % Tables. |