[docs] Suggested improvement for "if" in Index

Julian O. Julian.Orbach at somethinkodd.com
Wed Oct 31 02:01:09 CET 2012

Under Python v2.7.2 documentation/The Python Language Reference, Section
5.11 describes Conditional Expressions (aka the ternary operator). This is
the expression of the form "x if C else y".


I looked for this by typing "if" in the Index (on Windows). I found two
entries referring to the "if" statement, but nothing referring to
Conditional Expressions.


My suggestion is that Section 5.11 should be added to the index, under "if"
and possibly under "else" as well.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20121031/6e274d7c/attachment.html>

More information about the docs mailing list