Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3151f44

Browse files
committed
Add description of the "explanation" optional parameter added to the
\versionadded macro. Note: this should not be merged into the 2.1 maintenance branch.
1 parent 4c6f17a commit 3151f44

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

Doc/doc/doc.tex

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -840,12 +840,15 @@ \section{Special Markup Constructs}
840840
\macro{shortversion} macro.
841841
\end{macrodesc}
842842

843-
\begin{macrodesc}{versionadded}{\p{version}}
843+
\begin{macrodesc}{versionadded}{\op{explanation}\p{version}}
844844
The version of Python which added the described feature to the
845-
library or C API. This is typically added to the end of the
846-
first paragraph of the description before any availability
847-
notes. The location should be selected so the explanation makes
848-
sense and may vary as needed.
845+
library or C API. \var{explanation} should be a \emph{brief}
846+
explanation of the change consisting of a capitalized sentence
847+
fragment; a period will be appended by the formatting process.
848+
This is typically added to the end of the first paragraph of the
849+
description before any availability notes. The location should
850+
be selected so the explanation makes sense and may vary as
851+
needed.
849852
\end{macrodesc}
850853

851854
\begin{macrodesc}{versionchanged}{\op{explanation}\p{version}}

0 commit comments

Comments
 (0)