diff options
author | Andre Delfino <adelfino@gmail.com> | 2020-12-19 15:48:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-19 15:48:06 (GMT) |
commit | c56f9df0498498d17972fe02046fd235c9a6017f (patch) | |
tree | c4b543c510cee6268fcf948da118a14944ad2027 | |
parent | 3d569fd6dccf9f582bafaca04d3535094cae393e (diff) | |
download | cpython-c56f9df0498498d17972fe02046fd235c9a6017f.zip cpython-c56f9df0498498d17972fe02046fd235c9a6017f.tar.gz cpython-c56f9df0498498d17972fe02046fd235c9a6017f.tar.bz2 |
[doc] Mention with and except clauses in globals() (GH-13232)
-rw-r--r-- | Doc/reference/simple_stmts.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst index f8ab2e9..2c6c901 100644 --- a/Doc/reference/simple_stmts.rst +++ b/Doc/reference/simple_stmts.rst @@ -950,7 +950,7 @@ Names listed in a :keyword:`global` statement must not be used in the same code block textually preceding that :keyword:`!global` statement. Names listed in a :keyword:`global` statement must not be defined as formal -parameters or in a :keyword:`for` loop control target, :keyword:`class` +parameters, or as targets in :keyword:`with` statements or :keyword:`except` clauses, or in a :keyword:`for` target list, :keyword:`class` definition, function definition, :keyword:`import` statement, or variable annotation. |