summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/sgml/catalog3
-rw-r--r--Doc/sgml/python.dtd5
-rw-r--r--Doc/sgml/version.ent2
3 files changed, 10 insertions, 0 deletions
diff --git a/Doc/sgml/catalog b/Doc/sgml/catalog
index 7546c22..aeae92c 100644
--- a/Doc/sgml/catalog
+++ b/Doc/sgml/catalog
@@ -1,4 +1,7 @@
+-- SGML-Open-style catalog for the Python documentation system --
+
CATALOG "iso/catalog"
CATALOG "oasis/catalog"
PUBLIC "+//IDN python.org//DTD Python Documentation 1.0//EN" "python.dtd"
+PUBLIC "+//IDN python.org//ENTITIES Python Version//EN" "version.ent"
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;
diff --git a/Doc/sgml/version.ent b/Doc/sgml/version.ent
new file mode 100644
index 0000000..c6259b1
--- /dev/null
+++ b/Doc/sgml/version.ent
@@ -0,0 +1,2 @@
+<!-- Version number for the Python interpreter -->
+<!ENTITY version CDATA "1.5">