Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b6aecb commit a6e8339Copy full SHA for a6e8339
1 file changed
Doc/texinputs/python.sty
@@ -838,11 +838,17 @@
838
%
839
% Example:
840
% \versionadded{1.5.2}
841
+% \versionchanged[short explanation]{1.6}
842
843
\newcommand{\versionadded}[1]{%
844
{ New in version #1. }}
-\newcommand{\versionchanged}[1]{%
845
- { Changed in version #1. }}
+\newcommand{\versionchanged}[2][\py@badkey]{%
846
+ \ifx#1\@undefined%
847
+ { Changed in version #2. }%
848
+ \else%
849
+ { Changed in version #2:\ #1. }%
850
+ \fi%
851
+}
852
853
854
% Tables.
0 commit comments