On Mon, May 6, 2013 at 11:08 PM, Roy Smith <r...@panix.com> wrote: > On the other hand, I've long since given up trying to remember operator > precedence in various languages. If I ever have even the slightest > doubt, I just go ahead and put in the extra parens.
If I ever have even the slightest doubt, I just go ahead and type "<language> operator precedence" into a web search and check it :) Aside from utter insanity like PHP's ternary operator being wrongly associative, that covers pretty much everything. ChrisA -- http://mail.python.org/mailman/listinfo/python-list