SIGN IN SIGN UP

gh-108308: Use PyDict_GetItemRef() in moduleobject.c (#108381)

Replace PyDict_GetItemWithError() with PyDict_GetItemRef() which
returns a strong reference.

Cleanup also the function: move variable definition to their first
assignation, rename variable names to use name longer than 1
character.
V
Victor Stinner committed
4890f65ecf119a18df926d42982c8c6d02f0b9fd
Parent: 592bacb
Committed by GitHub <noreply@github.com> on 8/23/2023, 9:57:40 PM