summaryrefslogtreecommitdiffstats
path: root/Doc/doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-04-18 05:19:06 (GMT)
committerFred Drake <fdrake@acm.org>2001-04-18 05:19:06 (GMT)
commit3151f44d497da95c36db885b5ba5210590bcfc34 (patch)
tree0c47a484dfa7003c3445bfbe1b87c3daf796acf0 /Doc/doc
parent4c6f17a53766c5bfb15a985dc4da21a4ad6eb9cb (diff)
downloadcpython-3151f44d497da95c36db885b5ba5210590bcfc34.zip
cpython-3151f44d497da95c36db885b5ba5210590bcfc34.tar.gz
cpython-3151f44d497da95c36db885b5ba5210590bcfc34.tar.bz2
Add description of the "explanation" optional parameter added to the
\versionadded macro. Note: this should not be merged into the 2.1 maintenance branch.
Diffstat (limited to 'Doc/doc')
-rw-r--r--Doc/doc/doc.tex13
1 files changed, 8 insertions, 5 deletions
diff --git a/Doc/doc/doc.tex b/Doc/doc/doc.tex
index 130e606..a86c450 100644
--- a/Doc/doc/doc.tex
+++ b/Doc/doc/doc.tex
@@ -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}}