summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1996-09-11 21:58:26 (GMT)
committerFred Drake <fdrake@acm.org>1996-09-11 21:58:26 (GMT)
commite1607a8d0e5d4f9e2fda282fb3d9c2c1805024eb (patch)
treea54034cebc480d519f2e502b0645dd4728653086 /Modules
parent4b7d5a49ab781c70dda7e31497380748fcf3f24b (diff)
downloadcpython-e1607a8d0e5d4f9e2fda282fb3d9c2c1805024eb.zip
cpython-e1607a8d0e5d4f9e2fda282fb3d9c2c1805024eb.tar.gz
cpython-e1607a8d0e5d4f9e2fda282fb3d9c2c1805024eb.tar.bz2
(parsermodule.c): Fixed sloppy typo: '==' -> '='
Diffstat (limited to 'Modules')
-rw-r--r--Modules/parsermodule.c4
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);
}