commit | 1089bdc81aecf6adaf636547d4cf3949ec5d8d2c | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Mon Nov 14 18:49:14 2022 +0100 |
committer | GitHub <noreply@github.com> | Mon Nov 14 18:49:14 2022 +0100 |
tree | 7bcc940b1dae8b9a1df2f8bbb1dd56af4247b9af | |
parent | 65dd745f1a343dd80f5e612736f36200631f2840 [diff] |
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.