In article <mailman.1361.1367847484.3114.python-l...@python.org>, Chris Angelico <ros...@gmail.com> wrote: >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 :)
Well, that solves the problem once, and it solves it for me. I figure if I'm not 100% sure, then maybe other people aren't 100% sure either, and my adding the extra parens helps them too. -- http://mail.python.org/mailman/listinfo/python-list