mirror of
https://github.com/python/cpython.git
synced 2025-11-17 09:30:10 +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
|
|
@ -198,7 +198,7 @@ Method = TEMethodGenerator
|
|||
# Create and populate the lists
|
||||
functions = []
|
||||
methods = []
|
||||
execfile(INPUTFILE)
|
||||
exec(open(INPUTFILE).read())
|
||||
|
||||
# Converter from/to handle
|
||||
f = Function(TEHandle, 'as_TE', (Handle, 'h', InMode))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue