projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2dd78c
)
Note version added for conditional expressions
author
Neal Norwitz
<nnorwitz@gmail.com>
Mon, 27 Feb 2006 16:31:12 +0000
(16:31 +0000)
committer
Neal Norwitz
<nnorwitz@gmail.com>
Mon, 27 Feb 2006 16:31:12 +0000
(16:31 +0000)
Doc/ref/ref5.tex
patch
|
blob
|
history
diff --git
a/Doc/ref/ref5.tex
b/Doc/ref/ref5.tex
index 65a3cffd81b91f4e5814b17a4139035643d745d4..1f2dc5e4387e93f70706809eabab11d61692cb32 100644
(file)
--- 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