mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Remove duplicate code introduced by fixing bug #678518
This commit is contained in:
parent
f6b56aecad
commit
e4b5500e54
1 changed files with 0 additions and 3 deletions
|
@ -1719,9 +1719,6 @@ validate_global_stmt(node *tree)
|
||||||
if (!res && !PyErr_Occurred())
|
if (!res && !PyErr_Occurred())
|
||||||
err_string("illegal global statement");
|
err_string("illegal global statement");
|
||||||
|
|
||||||
if (!res && !PyErr_Occurred())
|
|
||||||
err_string("illegal global statement");
|
|
||||||
|
|
||||||
if (res)
|
if (res)
|
||||||
res = (validate_name(CHILD(tree, 0), "global")
|
res = (validate_name(CHILD(tree, 0), "global")
|
||||||
&& validate_ntype(CHILD(tree, 1), NAME));
|
&& validate_ntype(CHILD(tree, 1), NAME));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue