diff options
author | Georg Brandl <georg@python.org> | 2010-03-08 16:28:40 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-03-08 16:28:40 (GMT) |
commit | d22557cf0ab0606bbd83c76c7f9878b57e16a3f8 (patch) | |
tree | 033883e57465659d1d310d0374aaffce30751aad /Doc | |
parent | 47627d51644d3fcc57390455ef845f72e6387485 (diff) | |
download | cpython-d22557cf0ab0606bbd83c76c7f9878b57e16a3f8.zip cpython-d22557cf0ab0606bbd83c76c7f9878b57e16a3f8.tar.gz cpython-d22557cf0ab0606bbd83c76c7f9878b57e16a3f8.tar.bz2 |
Fix typo.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/reference/expressions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index 690c12a..5ef2f8f 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -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. |