summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-02-10 01:08:50 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2003-02-10 01:08:50 (GMT)
commite4b5500e549171450f5b61b9fdb0ca22aa1dab44 (patch)
treef29fada252dc41e443f03c0fe794a5eee877d4f4 /Modules
parentf6b56aecad067f730d7fc6ae76cca94a26c3c896 (diff)
downloadcpython-e4b5500e549171450f5b61b9fdb0ca22aa1dab44.zip
cpython-e4b5500e549171450f5b61b9fdb0ca22aa1dab44.tar.gz
cpython-e4b5500e549171450f5b61b9fdb0ca22aa1dab44.tar.bz2
Remove duplicate code introduced by fixing bug #678518
Diffstat (limited to 'Modules')
-rw-r--r--Modules/parsermodule.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c
index d082c09..eb9599c 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));