mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Patch #1550800: make exec a function.
This commit is contained in:
parent
4e472e05bd
commit
7cae87ca7b
105 changed files with 1246 additions and 1583 deletions
|
|
@ -36,11 +36,6 @@ module Python version "$Revision$"
|
|||
| Import(alias* names)
|
||||
| ImportFrom(identifier module, alias* names, int? level)
|
||||
|
||||
-- Doesn't capture requirement that locals must be
|
||||
-- defined if globals is
|
||||
-- still supports use as a function!
|
||||
| Exec(expr body, expr? globals, expr? locals)
|
||||
|
||||
| Global(identifier* names)
|
||||
| Expr(expr value)
|
||||
| Pass | Break | Continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue