mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Add a little more support for describing version information. This
is not pretty, but does what is needed.
This commit is contained in:
parent
8853b18cc8
commit
c65218e1fd
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue