mirror of
https://github.com/python/cpython.git
synced 2026-01-03 22:12:27 +00:00
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.
This commit is contained in:
parent
fdfd50f815
commit
f339632da0
3 changed files with 10 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
2
Doc/sgml/version.ent
Normal file
2
Doc/sgml/version.ent
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<!-- Version number for the Python interpreter -->
|
||||
<!ENTITY version CDATA "1.5">
|
||||
Loading…
Add table
Add a link
Reference in a new issue