Issue #17861: Allow generate_opcode_h to run with a system Python 2.5.

Patch by David Bolen.
This commit is contained in:
Ned Deily 2014-04-28 13:46:36 -07:00
parent 285a163a4c
commit 7fae75a415
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
# This script generates the opcode.h header file. # This script generates the opcode.h header file.
from __future__ import with_statement
import sys import sys
header = """/* Auto-generated by Tools/scripts/generate_opcode_h.py */ header = """/* Auto-generated by Tools/scripts/generate_opcode_h.py */
#ifndef Py_OPCODE_H #ifndef Py_OPCODE_H