From e4b5500e549171450f5b61b9fdb0ca22aa1dab44 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Mon, 10 Feb 2003 01:08:50 +0000 Subject: [PATCH] Remove duplicate code introduced by fixing bug #678518 --- Modules/parsermodule.c | 3 --- 1 file changed, 3 deletions(-) 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)); -- 2.50.1