summaryrefslogtreecommitdiffstats
path: root/Doc/sgml/python.dtd
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-01-29 16:42:37 (GMT)
committerFred Drake <fdrake@acm.org>1999-01-29 16:42:37 (GMT)
commitf339632da0afed44e439906e1490e1b671efb4cc (patch)
tree2b87e3d2a4689939ae65acfaec6c02a124723e2c /Doc/sgml/python.dtd
parentfdfd50f8150354b10cc72f2113537fa7d233a1b2 (diff)
downloadcpython-f339632da0afed44e439906e1490e1b671efb4cc.zip
cpython-f339632da0afed44e439906e1490e1b671efb4cc.tar.gz
cpython-f339632da0afed44e439906e1490e1b671efb4cc.tar.bz2
Define a general entity "&version;" that can be used as the current major
version of the Python interpreter. This is \version in the LaTeX format of the documentation.
Diffstat (limited to 'Doc/sgml/python.dtd')
-rw-r--r--Doc/sgml/python.dtd5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/sgml/python.dtd b/Doc/sgml/python.dtd
index e9bf50a..88aace0 100644
--- a/Doc/sgml/python.dtd
+++ b/Doc/sgml/python.dtd
@@ -7,6 +7,11 @@
PUBLIC "-//OASIS//DTD Exchange Table Model 19960430//EN">
&oasis-tables.mod;
+<!-- define the &version; general entity -->
+<!ENTITY python-version.ent
+ PUBLIC "+//IDN python.org//ENTITIES Python Version//EN">
+&python-version.ent;
+
<!ELEMENT input - - EMPTY>
<!ATTLIST input
%common.att;