]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
(parsermodule.c): Fixed sloppy typo: '==' -> '='
authorFred Drake <fdrake@acm.org>
Wed, 11 Sep 1996 21:58:26 +0000 (21:58 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 11 Sep 1996 21:58:26 +0000 (21:58 +0000)
Modules/parsermodule.c

index 9e7c3fe7e573ebb00c6f68a054d6a3da0e1c10f8..0c01ed3f6df228a9ba482876e9fb516230f559d7 100644 (file)
@@ -1174,8 +1174,8 @@ validate_varargslist(tree)
                if (res && (remaining >= 4)) {
                    res = validate_comma(CHILD(tree, pos));
                    if (--remaining == 3)
-                       res == (validate_star(CHILD(tree, pos + 1))
-                               && validate_star(CHILD(tree, pos + 2)));
+                       res = (validate_star(CHILD(tree, pos + 1))
+                              && validate_star(CHILD(tree, pos + 2)));
                    else
                        validate_ntype(CHILD(tree, pos + 1), DOUBLESTAR);
                }