summaryrefslogtreecommitdiffstats
path: root/Doc/texinputs
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-06-20 21:17:09 (GMT)
committerFred Drake <fdrake@acm.org>2001-06-20 21:17:09 (GMT)
commitc65218e1fd084f486b4ce87419e0f18146f2b1a1 (patch)
tree62c17f4091d8741b77dada73d158c0465527576f /Doc/texinputs
parent8853b18cc8f267978c0f9e193aee9cae13c85ed9 (diff)
downloadcpython-c65218e1fd084f486b4ce87419e0f18146f2b1a1.zip
cpython-c65218e1fd084f486b4ce87419e0f18146f2b1a1.tar.gz
cpython-c65218e1fd084f486b4ce87419e0f18146f2b1a1.tar.bz2
Add a little more support for describing version information. This
is not pretty, but does what is needed.
Diffstat (limited to 'Doc/texinputs')
-rw-r--r--Doc/texinputs/python.sty3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index 35f7727..e4c60b8 100644
--- a/Doc/texinputs/python.sty
+++ b/Doc/texinputs/python.sty
@@ -1048,12 +1048,15 @@
\newcommand{\py@release}{}
\newcommand{\version}{}
\newcommand{\shortversion}{}
+\newcommand{\releaseinfo}{}
\newcommand{\releasename}{Release}
\newcommand{\release}[1]{%
\renewcommand{\py@release}{\releasename\space\version}%
\renewcommand{\version}{#1}}
\newcommand{\setshortversion}[1]{%
\renewcommand{\shortversion}{#1}}
+\newcommand{\setreleaseinfo}[1]{%
+ \renewcommand{\releaseinfo}{#1}}
% Allow specification of the author's address separately from the
% author's name. This can be used to format them differently, which