[Python-checkins] CVS: python/dist/src/Doc/texinputs python.sty,1.58,1.59
Fred Drake
python-dev@python.org
Tue, 2 May 2000 13:28:39 -0400
Update of /projects/cvsroot/python/dist/src/Doc/texinputs
In directory seahag.cnri.reston.va.us:/home/fdrake/projects/python/Doc/texinputs
Modified Files:
python.sty
Log Message:
\versionchanged: Added optional parameter for explanation of change.
Index: python.sty
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Doc/texinputs/python.sty,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -r1.58 -r1.59
*** python.sty 2000/04/26 18:13:58 1.58
--- python.sty 2000/05/02 17:28:36 1.59
***************
*** 839,847 ****
% Example:
% \versionadded{1.5.2}
%
\newcommand{\versionadded}[1]{%
{ New in version #1. }}
! \newcommand{\versionchanged}[1]{%
! { Changed in version #1. }}
--- 839,853 ----
% Example:
% \versionadded{1.5.2}
+ % \versionchanged[short explanation]{1.6}
%
\newcommand{\versionadded}[1]{%
{ New in version #1. }}
! \newcommand{\versionchanged}[2][\py@badkey]{%
! \ifx#1\@undefined%
! { Changed in version #2. }%
! \else%
! { Changed in version #2:\ #1. }%
! \fi%
! }