[Python-checkins] r42595 - python/trunk/Doc/ref/ref5.tex
neal.norwitz
python-checkins at python.org
Mon Feb 27 17:31:14 CET 2006
Author: neal.norwitz
Date: Mon Feb 27 17:31:12 2006
New Revision: 42595
Modified:
python/trunk/Doc/ref/ref5.tex
Log:
Note version added for conditional expressions
Modified: python/trunk/Doc/ref/ref5.tex
==============================================================================
--- python/trunk/Doc/ref/ref5.tex (original)
+++ python/trunk/Doc/ref/ref5.tex Mon Feb 27 17:31:12 2006
@@ -1039,7 +1039,7 @@
The expression \code{\var{x} if \var{C} else \var{y}} first evaluates
\var{C} (\emph{not} \var{x}); if \var{C} is true, \var{x} is evaluated and
its value is returned; otherwise, \var{y} is evaluated and its value is
-returned.
+returned. \versionadded{2.5}
The expression \code{\var{x} and \var{y}} first evaluates \var{x}; if
\var{x} is false, its value is returned; otherwise, \var{y} is
More information about the Python-checkins
mailing list