Fix a SystemError in code.replace() (#27771)
While the comment said 'We don't bother resizing localspluskinds', this would cause .replace() to crash when it happened. (Also types.CodeType(), but testing that is tedious, and this tests all code paths.)
G
Guido van Rossum committed
62bd97303eb6d1fb0109e4a57d38c2ba6b0be7ff
Parent: a0a6d39
Committed by GitHub <noreply@github.com>
on 8/16/2021, 6:34:23 PM