summaryrefslogtreecommitdiffstats
path: root/Python/makeopcodetargets.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2019-09-11 23:43:22 (GMT)
committerGitHub <noreply@github.com>2019-09-11 23:43:22 (GMT)
commit39de95b746c990e6a2fe9af5fad01747f58b2e5f (patch)
treee493945a5beed10740ec8711b7579f3bdc5edf02 /Python/makeopcodetargets.py
parentee536b2020b1f0baad1286dbd4345e13870324af (diff)
downloadcpython-39de95b746c990e6a2fe9af5fad01747f58b2e5f.zip
cpython-39de95b746c990e6a2fe9af5fad01747f58b2e5f.tar.gz
cpython-39de95b746c990e6a2fe9af5fad01747f58b2e5f.tar.bz2
closes bpo-38124: Fix bounds check in PyState_AddModule. (GH-16007)
The >=, checking whether a module index was in already in the module-by-index list, needed to be strict. Also, fold nested ifs into one and fix some bad spacing.
Diffstat (limited to 'Python/makeopcodetargets.py')
0 files changed, 0 insertions, 0 deletions