mirror of
https://github.com/python/cpython.git
synced 2025-08-05 01:18:26 +00:00

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.
(cherry picked from commit 39de95b746
)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
2 lines
91 B
ReStructuredText
2 lines
91 B
ReStructuredText
Fix an off-by-one error in PyState_AddModule that could cause out-of-bounds
|
|
memory access.
|