[Python-checkins] CVS: python/dist/src/Doc/texinputs python.sty,1.73,1.74
Fred L. Drake
fdrake@users.sourceforge.net
Tue, 17 Apr 2001 20:08:57 -0700
Update of /cvsroot/python/python/dist/src/Doc/texinputs
In directory usw-pr-cvs1:/tmp/cvs-serv14554/texinputs
Modified Files:
python.sty
Log Message:
\versionadded: Add support for including an explanatory note along with
the versioning information, similar to \versionchanged.
Index: python.sty
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/texinputs/python.sty,v
retrieving revision 1.73
retrieving revision 1.74
diff -C2 -r1.73 -r1.74
*** python.sty 2001/04/10 15:53:06 1.73
--- python.sty 2001/04/18 03:08:54 1.74
***************
*** 873,878 ****
% \versionchanged[short explanation]{2.0}
%
! \newcommand{\versionadded}[1]{%
! { New in version #1. }}
\newcommand{\versionchanged}[2][\py@badkey]{%
\ifx#1\@undefined%
--- 873,883 ----
% \versionchanged[short explanation]{2.0}
%
! \newcommand{\versionadded}[2][\py@badkey]{%
! \ifx#1\@undefined%
! { New in version #2. }%
! \else%
! { New in version #2:\ #1. }%
! \fi%
! }
\newcommand{\versionchanged}[2][\py@badkey]{%
\ifx#1\@undefined%