diff options
author | Guido van Rossum <guido@python.org> | 1995-08-28 02:54:01 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-08-28 02:54:01 (GMT) |
commit | 97162b5b952283ebf504aff23260dee51d58f095 (patch) | |
tree | 3d855620b9d40f083bed269cadbb8c881da724a9 | |
parent | 9d8c5a4cf33549de4417db14c266b003edaaaf05 (diff) | |
download | cpython-97162b5b952283ebf504aff23260dee51d58f095.zip cpython-97162b5b952283ebf504aff23260dee51d58f095.tar.gz cpython-97162b5b952283ebf504aff23260dee51d58f095.tar.bz2 |
exec() -> exec
-rwxr-xr-x | Lib/irix5/flp.py | 6 | ||||
-rwxr-xr-x | Lib/plat-irix5/flp.py | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Lib/irix5/flp.py b/Lib/irix5/flp.py index 84c40aa..14e2278 100755 --- a/Lib/irix5/flp.py +++ b/Lib/irix5/flp.py @@ -329,7 +329,7 @@ def _parse_object(file): # def create_full_form(inst, (fdata, odatalist)): form = create_form(fdata) - exec('inst.'+fdata.Name+' = form\n') + exec 'inst.'+fdata.Name+' = form\n' for odata in odatalist: create_object_instance(inst, form, odata) @@ -338,7 +338,7 @@ def create_full_form(inst, (fdata, odatalist)): # variable. # def merge_full_form(inst, form, (fdata, odatalist)): - exec('inst.'+fdata.Name+' = form\n') + exec 'inst.'+fdata.Name+' = form\n' if odatalist[0].Class <> FL.BOX: raise error, 'merge_full_form() expects FL.BOX as first obj' for odata in odatalist[1:]: @@ -374,7 +374,7 @@ def create_object_instance(inst, form, odata): cbfunc = eval('inst.'+odata.Callback) obj.set_call_back(cbfunc, odata.Argument) if odata.Name: - exec('inst.' + odata.Name + ' = obj\n') + exec 'inst.' + odata.Name + ' = obj\n' # # Internal _create_object: Create the object and fill options # diff --git a/Lib/plat-irix5/flp.py b/Lib/plat-irix5/flp.py index 84c40aa..14e2278 100755 --- a/Lib/plat-irix5/flp.py +++ b/Lib/plat-irix5/flp.py @@ -329,7 +329,7 @@ def _parse_object(file): # def create_full_form(inst, (fdata, odatalist)): form = create_form(fdata) - exec('inst.'+fdata.Name+' = form\n') + exec 'inst.'+fdata.Name+' = form\n' for odata in odatalist: create_object_instance(inst, form, odata) @@ -338,7 +338,7 @@ def create_full_form(inst, (fdata, odatalist)): # variable. # def merge_full_form(inst, form, (fdata, odatalist)): - exec('inst.'+fdata.Name+' = form\n') + exec 'inst.'+fdata.Name+' = form\n' if odatalist[0].Class <> FL.BOX: raise error, 'merge_full_form() expects FL.BOX as first obj' for odata in odatalist[1:]: @@ -374,7 +374,7 @@ def create_object_instance(inst, form, odata): cbfunc = eval('inst.'+odata.Callback) obj.set_call_back(cbfunc, odata.Argument) if odata.Name: - exec('inst.' + odata.Name + ' = obj\n') + exec 'inst.' + odata.Name + ' = obj\n' # # Internal _create_object: Create the object and fill options # |