◐ Shell
clean mode source ↗

gh-108308: Use PyDict_GetItemRef() in moduleobject.c by vstinner · Pull Request #108381 · python/cpython

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.