]> granicus.if.org Git - python/commitdiff
Add description of the "explanation" optional parameter added to the
authorFred Drake <fdrake@acm.org>
Wed, 18 Apr 2001 05:19:06 +0000 (05:19 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 18 Apr 2001 05:19:06 +0000 (05:19 +0000)
\versionadded macro.

Note: this should not be merged into the 2.1 maintenance branch.

Doc/doc/doc.tex

index 130e606e681c1e6c92a35b56fc1e6b9d28843c8b..a86c45079de880852c024fa2ec9240e7209cd9af 100644 (file)
@@ -840,12 +840,15 @@ This \UNIX\ is also followed by a space.
       \macro{shortversion} macro.
     \end{macrodesc}
 
-    \begin{macrodesc}{versionadded}{\p{version}}
+    \begin{macrodesc}{versionadded}{\op{explanation}\p{version}}
       The version of Python which added the described feature to the
-      library or C API.  This is typically added to the end of the
-      first paragraph of the description before any availability
-      notes.  The location should be selected so the explanation makes
-      sense and may vary as needed.
+      library or C API.  \var{explanation} should be a \emph{brief}
+      explanation of the change consisting of a capitalized sentence
+      fragment; a period will be appended by the formatting process.
+      This is typically added to the end of the first paragraph of the
+      description before any availability notes.  The location should
+      be selected so the explanation makes sense and may vary as
+      needed.
     \end{macrodesc}
 
     \begin{macrodesc}{versionchanged}{\op{explanation}\p{version}}