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.
B
Benjamin Peterson committed
39de95b746c990e6a2fe9af5fad01747f58b2e5f
Parent: ee536b2
Committed by GitHub <noreply@github.com>
on 9/11/2019, 11:43:22 PM