Commit d22557cf authored by Georg Brandl's avatar Georg Brandl

Fix typo.

parent 47627d51
...@@ -1239,7 +1239,7 @@ Conditional Expressions ...@@ -1239,7 +1239,7 @@ Conditional Expressions
Conditional expressions (sometimes called a "ternary operator") have the lowest Conditional expressions (sometimes called a "ternary operator") have the lowest
priority of all Python operations. 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 if *C* is true, *x* is evaluated and its value is returned; otherwise, *y* is
evaluated and its value is returned. evaluated and its value is returned.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment