Re: [Mesa-dev] [PATCH 11/41] glapi: remove superflous parens in python

2016-04-19 Thread Dylan Baker
Quoting Ian Romanick (2016-04-19 14:56:11) > On 03/31/2016 05:04 PM, Dylan Baker wrote: > > Remove parens that don't do anything. Mostly these are extra grouping > > parens in if statements, that aren't needed. Unlike C python doesn't > > require parens around the conditions of if statements, excep

Re: [Mesa-dev] [PATCH 11/41] glapi: remove superflous parens in python

2016-04-19 Thread Ian Romanick
On 03/31/2016 05:04 PM, Dylan Baker wrote: > Remove parens that don't do anything. Mostly these are extra grouping > parens in if statements, that aren't needed. Unlike C python doesn't > require parens around the conditions of if statements, except to group > them when using logical operators. >

[Mesa-dev] [PATCH 11/41] glapi: remove superflous parens in python

2016-03-31 Thread Dylan Baker
Remove parens that don't do anything. Mostly these are extra grouping parens in if statements, that aren't needed. Unlike C python doesn't require parens around the conditions of if statements, except to group them when using logical operators. It also removes them around the assert keyword. asser