mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
gh-99016: Make build scripts compatible with Python 3.8 (GH-99017)
This commit is contained in:
parent
276d77724f
commit
f520d720f6
3 changed files with 4 additions and 3 deletions
|
@ -108,7 +108,7 @@ def main(opcode_py, outfile='Include/opcode.h', internaloutfile='Include/interna
|
|||
opname_including_specialized[255] = 'DO_TRACING'
|
||||
used[255] = True
|
||||
|
||||
with (open(outfile, 'w') as fobj, open(internaloutfile, 'w') as iobj):
|
||||
with open(outfile, 'w') as fobj, open(internaloutfile, 'w') as iobj:
|
||||
fobj.write(header)
|
||||
iobj.write(internal_header)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue