bpo-40989: Move _Py_NewReference() to the internal C API by vstinner · Pull Request #20904 · python/cpython
Remove the _Py_NewReference() and _Py_ForgetReference() functions from the public C API: move them to the internal C API. Move with_tp_del() test function from the _testcapi module to the _testinternalcapi module.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters