summaryrefslogtreecommitdiff
path: root/Python/modsupport.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-25 11:54:47 +0100
committerVictor Stinner <victor.stinner@gmail.com>2016-03-25 11:54:47 +0100
commita9a852c2b123031febf245d3bd37a529e0635d01 (patch)
treeec082a8bea9d540770ecb74b49ba30b6f9530b26 /Python/modsupport.c
parente77c974357fa96917e6966d627a69eae8a919b37 (diff)
downloadcpython-git-a9a852c2b123031febf245d3bd37a529e0635d01.tar.gz
Modernize Python/makeopcodetargets.py
* Simply use "import opcode" to import the opcode module instead of tricks using the imp module * Use context manager for the output file * Move code into a new main() function * Replace assert with a regular if to check the number of arguments * Import modules at top level
Diffstat (limited to 'Python/modsupport.c')
0 files changed, 0 insertions, 0 deletions