From: Fred Drake Date: Wed, 20 Jun 2001 21:17:09 +0000 (+0000) Subject: Add a little more support for describing version information. This X-Git-Tag: v2.2a3~1497 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c65218e1fd084f486b4ce87419e0f18146f2b1a1;p=thirdparty%2FPython%2Fcpython.git Add a little more support for describing version information. This is not pretty, but does what is needed. --- diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index 35f7727959c0..e4c60b834b14 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