mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix typo.
This commit is contained in:
parent
47627d5164
commit
d22557cf0a
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue