From: Fred Drake <fdrake@acm.org>
Date: Sat, 21 Apr 2001 06:00:51 +0000 (+0000)
Subject: Add support for <memberline/> (needs markup improvement!).
X-Git-Tag: v2.2a3~1978
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bda05564de450aa51f7416df22bc094303a95b39;p=python

Add support for <memberline/> (needs markup improvement!).

Update <versionadded/> to recent addition of optional explanatory text;
make the explanation text take the same attribute name for both
<versionadded/> and <versionchanged/>.
---

diff --git a/Doc/tools/sgmlconv/conversion.xml b/Doc/tools/sgmlconv/conversion.xml
index 7759badb5f..c55d4628e4 100644
--- a/Doc/tools/sgmlconv/conversion.xml
+++ b/Doc/tools/sgmlconv/conversion.xml
@@ -53,6 +53,7 @@
     </macro>
   <macro name="shortversion"/>
   <macro name="versionadded">
+    <attribute name="info" optional="yes"/>
     <attribute name="version"/>
     </macro>
   <!-- This is broken:  we need to re-order the optional and required
@@ -60,7 +61,7 @@
        element.  The processor is not powerful enough to handle this.
     -->
   <macro name="versionchanged">
-    <attribute name="how" optional="yes"/>
+    <attribute name="info" optional="yes"/>
     <attribute name="version"/>
     </macro>
 
@@ -135,6 +136,9 @@
     <attribute name="class" optional="yes"/>
     <attribute name="name"/>
     </environment>
+  <macro name="memberline">
+    <attribute name="name"/>
+    </macro>
 
   <environment name="methoddesc">
     <attribute name="class" optional="yes"/>