Usefulness of the "not in" operator

Steven D'Aprano steve+comp.lang.python at pearwood.info
Tue Oct 11 02:44:31 EDT 2011


Tim Roberts wrote:

> Westley Martínez <anikom15 at gmail.com> wrote:
>>On Sat, Oct 08, 2011 at 12:34:42PM -0400, Roy Smith wrote:
>>> 
>>> Here's my take on parenthesis:  If you need to look up whether they're
>>> necessary or not, they are :-)
>>
>>So we don't need precedence charts in the bathroom?
> 
> Yes, we do, because I'm always reading code from other people that didn't
> follow that rule.

No no no, they *do* follow the rule. They just have a better memory for
operator precedence than you do :)


-- 
Steven




More information about the Python-list mailing list