gh-99300: Use Py_NewRef() in Doc/ directory (#99480)
Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and Py_XNewRef() in test C files of the Doc/ directory. Replace PyModule_AddObject() with PyModule_AddObjectRef() to simplify reference counting.
V
Victor Stinner committed
1089bdc81aecf6adaf636547d4cf3949ec5d8d2c
Parent: 65dd745
Committed by GitHub <noreply@github.com>
on 11/14/2022, 5:49:14 PM