mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +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())
|
||||
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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue