diff options
author | Victor Stinner <vstinner@python.org> | 2022-11-14 18:49:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 18:49:14 +0100 |
commit | 1089bdc81aecf6adaf636547d4cf3949ec5d8d2c (patch) | |
tree | 7bcc940b1dae8b9a1df2f8bbb1dd56af4247b9af /Python/errors.c | |
parent | 65dd745f1a343dd80f5e612736f36200631f2840 (diff) | |
download | cpython-git-1089bdc81aecf6adaf636547d4cf3949ec5d8d2c.tar.gz |
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.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions