mirror of
https://github.com/python/cpython.git
synced 2025-09-08 18:01:44 +00:00
Kill execfile(), use exec() instead
This commit is contained in:
parent
41eaedd361
commit
016880229a
98 changed files with 179 additions and 341 deletions
|
@ -213,8 +213,8 @@ module.addobject(aedescobject)
|
|||
functions = []
|
||||
aedescmethods = []
|
||||
|
||||
execfile('aegen.py')
|
||||
##execfile('aedatamodelgen.py')
|
||||
exec(open('aegen.py').read())
|
||||
##exec(open('aedatamodelgen.py').read())
|
||||
|
||||
# Manual generator
|
||||
AutoDispose_body = """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue