From: Neal Norwitz Date: Mon, 10 Feb 2003 01:08:50 +0000 (+0000) Subject: Remove duplicate code introduced by fixing bug #678518 X-Git-Tag: v2.3c1~1952 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4b5500e549171450f5b61b9fdb0ca22aa1dab44;p=python Remove duplicate code introduced by fixing bug #678518 --- diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index d082c09f15..eb9599c952 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c @@ -1719,9 +1719,6 @@ validate_global_stmt(node *tree) if (!res && !PyErr_Occurred()) err_string("illegal global statement"); - if (!res && !PyErr_Occurred()) - err_string("illegal global statement"); - if (res) res = (validate_name(CHILD(tree, 0), "global") && validate_ntype(CHILD(tree, 1), NAME));