Fix typo.

This commit is contained in:
Georg Brandl 2010-03-08 16:28:40 +00:00
parent 47627d5164
commit d22557cf0a

View file

@ -1239,7 +1239,7 @@ Conditional Expressions
Conditional expressions (sometimes called a "ternary operator") have the lowest
priority of all Python operations.
The expression ``x if C else y`` first evaluates the condition, *C* (*not* *a*);
The expression ``x if C else y`` first evaluates the condition, *C* (*not* *x*);
if *C* is true, *x* is evaluated and its value is returned; otherwise, *y* is
evaluated and its value is returned.