]> granicus.if.org Git - python/commitdiff
Define a general entity "&version;" that can be used as the current major
authorFred Drake <fdrake@acm.org>
Fri, 29 Jan 1999 16:42:37 +0000 (16:42 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 29 Jan 1999 16:42:37 +0000 (16:42 +0000)
version of the Python interpreter.  This is \version in the LaTeX format
of the documentation.

Doc/sgml/catalog
Doc/sgml/python.dtd
Doc/sgml/version.ent [new file with mode: 0644]

index 7546c2274dd68b1003d03ebc8842d51ff90ddaad..aeae92c236041b662cb25316a386f6a086bea037 100644 (file)
@@ -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"
index e9bf50a078ed351d9e45e517ce8910404ca8ab35..88aace0baf01b6ee06b4163d9b19cb8b4c6c484e 100644 (file)
@@ -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 (file)
index 0000000..c6259b1
--- /dev/null
@@ -0,0 +1,2 @@
+<!-- Version number for the Python interpreter -->
+<!ENTITY version CDATA "1.5">