diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/parsermodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index 9e7c3fe..0c01ed3 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c @@ -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); } |