Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7fae75a

Browse files
committed
Issue #17861: Allow generate_opcode_h to run with a system Python 2.5.
Patch by David Bolen.
1 parent 285a163 commit 7fae75a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Tools/scripts/generate_opcode_h.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# This script generates the opcode.h header file.
22

3+
from __future__ import with_statement
4+
35
import sys
46
header = """/* Auto-generated by Tools/scripts/generate_opcode_h.py */
57
#ifndef Py_OPCODE_H

0 commit comments

Comments
 (0)