summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_doctest.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-25 10:54:47 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-25 10:54:47 (GMT)
commita9a852c2b123031febf245d3bd37a529e0635d01 (patch)
treeec082a8bea9d540770ecb74b49ba30b6f9530b26 /Lib/test/test_doctest.py
parente77c974357fa96917e6966d627a69eae8a919b37 (diff)
downloadcpython-a9a852c2b123031febf245d3bd37a529e0635d01.zip
cpython-a9a852c2b123031febf245d3bd37a529e0635d01.tar.gz
cpython-a9a852c2b123031febf245d3bd37a529e0635d01.tar.bz2
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 'Lib/test/test_doctest.py')
0 files changed, 0 insertions, 0 deletions