Mercurial > cpython-lru_cache-weakref
diff Doc/texinputs/python.sty @ 18180:c25876a51f1b legacy-trunk
Add a little more support for describing version information. This
is not pretty, but does what is needed.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Wed, 20 Jun 2001 21:17:09 +0000 |
| parents | b4b3657cb1fa |
| children | b893d12045cb |
line wrap: on
line diff
--- a/Doc/texinputs/python.sty Wed Jun 20 20:55:05 2001 +0000 +++ b/Doc/texinputs/python.sty Wed Jun 20 21:17:09 2001 +0000 @@ -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
