Skip to content

Commit ec10a82

Browse files
committed
With the change in the documentation, the previous warning no longer applies.
1 parent f37b6d9 commit ec10a82

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Doc/reference/simple_stmts.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -975,12 +975,6 @@ The global statement applies to the entire scope of a function or
975975
class body. A :exc:`SyntaxError` is raised if a variable is used or
976976
assigned to prior to its global declaration in the scope.
977977

978-
.. impl-detail::
979-
980-
The current implementation does not enforce some of these restrictions, but
981-
programs should not abuse this freedom, as future implementations may enforce
982-
them or silently change the meaning of the program.
983-
984978
.. index::
985979
pair: built-in function; exec
986980
pair: built-in function; eval

0 commit comments

Comments
 (0)