Mercurial > cpython-lru_cache-weakref
diff Doc/texinputs/python.sty @ 14555:219e00221c84 legacy-trunk
\shortversion,
\setshortversion: New markup to help deal with Python having a "real"
version number and an abbreviated version number
used to create pathnames to the library installation.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Thu, 14 Sep 2000 20:11:05 +0000 |
| parents | 9fed4eebc586 |
| children | 4d2e9cf1eb20 |
line wrap: on
line diff
--- a/Doc/texinputs/python.sty Thu Sep 14 18:25:41 2000 +0000 +++ b/Doc/texinputs/python.sty Thu Sep 14 20:11:05 2000 +0000 @@ -975,10 +975,13 @@ % \newcommand{\py@release}{} \newcommand{\version}{} +\newcommand{\shortversion}{} \newcommand{\releasename}{Release} \newcommand{\release}[1]{% \renewcommand{\py@release}{\releasename\space\version}% \renewcommand{\version}{#1}} +\newcommand{\setshortversion}[1]{% + \renewcommand{\shortversion}{#1}} % Allow specification of the author's address separately from the % author's name. This can be used to format them differently, which
