diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2003-02-10 01:08:50 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2003-02-10 01:08:50 (GMT) |
commit | e4b5500e549171450f5b61b9fdb0ca22aa1dab44 (patch) | |
tree | f29fada252dc41e443f03c0fe794a5eee877d4f4 /Modules | |
parent | f6b56aecad067f730d7fc6ae76cca94a26c3c896 (diff) | |
download | cpython-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.c | 3 |
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)); |