You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 08:49:51 +08:00
2.7 exec stmt grammar rule isolation/reduction
This commit is contained in:
13
test/simple_source/stmts/02_test_exec.py
Normal file
13
test/simple_source/stmts/02_test_exec.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# exec.py -- source test pattern for exec statement
|
||||
#
|
||||
# This simple program is part of the decompyle test suite.
|
||||
#
|
||||
# decompyle is a Python byte-code decompiler
|
||||
# See http://www.goebel-consult.de/decompyle/ for download and
|
||||
# for further information
|
||||
|
||||
testcode = 'a = 12'
|
||||
|
||||
exec testcode
|
||||
exec testcode in globals()
|
||||
exec testcode in globals(), locals()
|
Reference in New Issue
Block a user