diff Modules/parsermodule.c @ 27775:c18422716ff2 legacy-trunk

Remove duplicate code introduced by fixing bug #678518
author Neal Norwitz <nnorwitz@gmail.com>
date Mon, 10 Feb 2003 01:08:50 +0000
parents 2c389a0448a4
children 9acdc6c4416a
line wrap: on
line diff
--- a/Modules/parsermodule.c	Sun Feb 09 23:42:56 2003 +0000
+++ b/Modules/parsermodule.c	Mon Feb 10 01:08:50 2003 +0000
@@ -1719,9 +1719,6 @@
     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));