summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-02-02 18:02:48 (GMT)
committerFred Drake <fdrake@acm.org>1999-02-02 18:02:48 (GMT)
commit2116d983bfb2c205c7974c0bc34123de595a1121 (patch)
tree48160fa63abda4bdc1e6b6a4118825f100e782b9
parentd0bceeeb594d8dc955dce27f8f8f867187d6e75c (diff)
downloadcpython-2116d983bfb2c205c7974c0bc34123de595a1121.zip
cpython-2116d983bfb2c205c7974c0bc34123de595a1121.tar.gz
cpython-2116d983bfb2c205c7974c0bc34123de595a1121.tar.bz2
Make \versionadded and \versionchanged less prominant -- neither bold
nor a separate paragraph.
-rw-r--r--Doc/perl/python.perl4
-rw-r--r--Doc/texinputs/python.sty6
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.