diff options
author | Benjamin Peterson <benjamin@python.org> | 2019-09-12 00:43:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-12 00:43:22 +0100 |
commit | 39de95b746c990e6a2fe9af5fad01747f58b2e5f (patch) | |
tree | e493945a5beed10740ec8711b7579f3bdc5edf02 /Python/codecs.c | |
parent | ee536b2020b1f0baad1286dbd4345e13870324af (diff) | |
download | cpython-git-39de95b746c990e6a2fe9af5fad01747f58b2e5f.tar.gz |
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/codecs.c')
0 files changed, 0 insertions, 0 deletions