summaryrefslogtreecommitdiffstats
path: root/Python/pyctype.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-11-14 17:49:14 (GMT)
committerGitHub <noreply@github.com>2022-11-14 17:49:14 (GMT)
commit1089bdc81aecf6adaf636547d4cf3949ec5d8d2c (patch)
tree7bcc940b1dae8b9a1df2f8bbb1dd56af4247b9af /Python/pyctype.c
parent65dd745f1a343dd80f5e612736f36200631f2840 (diff)
downloadcpython-1089bdc81aecf6adaf636547d4cf3949ec5d8d2c.zip
cpython-1089bdc81aecf6adaf636547d4cf3949ec5d8d2c.tar.gz
cpython-1089bdc81aecf6adaf636547d4cf3949ec5d8d2c.tar.bz2
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/pyctype.c')
0 files changed, 0 insertions, 0 deletions