]> granicus.if.org Git - python/commit
Remove two unneeded branches to an 'if' statement by applying De Morgan's Law
authorBrett Cannon <bcannon@gmail.com>
Wed, 5 May 2010 20:30:30 +0000 (20:30 +0000)
committerBrett Cannon <bcannon@gmail.com>
Wed, 5 May 2010 20:30:30 +0000 (20:30 +0000)
commitfa84d923ec9ed63af6b29e946b8fbfe5626ecf42
treed932a40f49fcfde3a3685d4e60b759fb0cdfe03f
parent2ee5183852e7ebd23eae66a38585b4fd0a6f956e
Remove two unneeded branches to an 'if' statement by applying De Morgan's Law
and creating a single 'if' statement along with a NULL default value for a
variable.

Also clean up a bunch of whitespace.

Found using Clang's static analyzer.
Python/ast.c