bpo-40989: Fix compiler warning in winreg.c by vstinner · Pull Request #21722 · python/cpython

@vstinner

Explicitly cast PyHKEYObject* to PyObject* to call _PyObject_Init().

shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request

Aug 20, 2020
Explicitly cast PyHKEYObject* to PyObject* to call _PyObject_Init().

xzy3 pushed a commit to xzy3/cpython that referenced this pull request

Oct 18, 2020
Explicitly cast PyHKEYObject* to PyObject* to call _PyObject_Init().