From f9f61b4aa281c1b19546dba7f1ee529b8b80bc9a Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Mon, 27 Feb 2006 16:31:12 +0000 Subject: Note version added for conditional expressions --- Doc/ref/ref5.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex index 65a3cff..1f2dc5e 100644 --- a/Doc/ref/ref5.tex +++ b/Doc/ref/ref5.tex @@ -1039,7 +1039,7 @@ The operator \keyword{not} yields \code{True} if its argument is false, 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 -- cgit v0.12