On Sat, May 7, 2016, at 08:28 PM, DFS wrote: > >> +-------------------------+------------+ > >> |superfluous-parens |3 | I like to surround 'or' > >> statments with parens > > > > I would need examples to comment > > > if ("Please choose a state" in str(matches)): > if (var == "val" or var2 == "val2"):
Gah, don't do that. You're adding meaningless noise. Especially in the first case. -- Stephen Hansen m e @ i x o k a i . i o -- https://mail.python.org/mailman/listinfo/python-list