mirror of
https://github.com/python/cpython.git
synced 2025-10-21 06:02:21 +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
|
@ -145,7 +145,7 @@ Method = MethodGenerator
|
|||
CGContextRef_methods = []
|
||||
|
||||
# ADD _methods initializer here
|
||||
execfile(INPUTFILE)
|
||||
exec(open(INPUTFILE).read())
|
||||
|
||||
# manual method, lives in Quickdraw.h
|
||||
f = Method(void, 'SyncCGContextOriginWithPort',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue