mirror of https://github.com/python/cpython
Properly use &&. Closes bug #434989.
This commit is contained in:
parent
01dfdb3d35
commit
b28f6e7c7b
|
@ -2524,7 +2524,7 @@ validate_node(node *tree)
|
|||
int res = 1; /* result value */
|
||||
node* next = 0; /* node to process after this one */
|
||||
|
||||
while (res & (tree != 0)) {
|
||||
while (res && (tree != 0)) {
|
||||
nch = NCH(tree);
|
||||
next = 0;
|
||||
switch (TYPE(tree)) {
|
||||
|
|
Loading…
Reference in New Issue