[New-bugs-announce] [issue8039] precedence rules for ternary operator
Dirkjan Ochtman
report at bugs.python.org
Tue Mar 2 15:26:06 CET 2010
New submission from Dirkjan Ochtman <dirkjan at ochtman.nl>:
So http://docs.python.org/reference/expressions.html doesn't currently mention the ternary operator as far as I can see. Maybe this is trivial, but it would be nice to know where it fits into the hierarchy.
(I.e., my co-worker just came up to me asking when he needed the parentheses around the entire expression and when he didn't, and I couldn't give him a good answer.)
----------
assignee: georg.brandl
components: Documentation
messages: 100294
nosy: djc, georg.brandl
severity: normal
status: open
title: precedence rules for ternary operator
versions: Python 2.6, Python 3.1
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8039>
_______________________________________
More information about the New-bugs-announce
mailing list