[Python-checkins] r78802 - python/trunk/Doc/reference/expressions.rst

georg.brandl python-checkins at python.org
Mon Mar 8 17:28:40 CET 2010


Author: georg.brandl
Date: Mon Mar  8 17:28:40 2010
New Revision: 78802

Log:
Fix typo.

Modified:
   python/trunk/Doc/reference/expressions.rst

Modified: python/trunk/Doc/reference/expressions.rst
==============================================================================
--- python/trunk/Doc/reference/expressions.rst	(original)
+++ python/trunk/Doc/reference/expressions.rst	Mon Mar  8 17:28:40 2010
@@ -1239,7 +1239,7 @@
 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.
 


More information about the Python-checkins mailing list