summaryrefslogtreecommitdiffstats
path: root/Doc/texinputs
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-09-14 20:11:05 (GMT)
committerFred Drake <fdrake@acm.org>2000-09-14 20:11:05 (GMT)
commitaf2b71466a0054fd5d587aa3787d655239e91c20 (patch)
tree9d6b44d518f5880b4b56194a51ecd424fbe36319 /Doc/texinputs
parent1fe3b82371c0d53b829a98ce497f06782a616315 (diff)
downloadcpython-af2b71466a0054fd5d587aa3787d655239e91c20.zip
cpython-af2b71466a0054fd5d587aa3787d655239e91c20.tar.gz
cpython-af2b71466a0054fd5d587aa3787d655239e91c20.tar.bz2
\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.
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 fe5db27..feea3ef 100644
--- a/Doc/texinputs/python.sty
+++ b/Doc/texinputs/python.sty
@@ -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