summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-11-25 10:59:52 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-11-25 10:59:52 (GMT)
commit6193ecd77907dafa83235dd1386354613ecafcdf (patch)
treee6a09691ac88d2831e3bea5b794f24ef33209ce8 /Include
parent1018fad6a4df3d7fcb0ec715867069044428a759 (diff)
downloadcpython-6193ecd77907dafa83235dd1386354613ecafcdf.zip
cpython-6193ecd77907dafa83235dd1386354613ecafcdf.tar.gz
cpython-6193ecd77907dafa83235dd1386354613ecafcdf.tar.bz2
Fix a ResourceWarning in generate_opcode_h.py
Use a context manager to close the Python file. Replace also open() with tokenize.open() to handle coding cookie if any in Lib/opcode.py.
Diffstat (limited to 'Include')
0 files changed, 0 insertions, 0 deletions