]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-99300: Use Py_NewRef() in Modules/_datetimemodule.c (#99465)
authorVictor Stinner <vstinner@python.org>
Mon, 14 Nov 2022 12:09:12 +0000 (13:09 +0100)
committerGitHub <noreply@github.com>
Mon, 14 Nov 2022 12:09:12 +0000 (13:09 +0100)
commitf15a0fcb1d13d28266f3e97e592e919b3fff2204
treec6635574ebed12e4e2b8818f3af90e2b34b0a9ac
parent7e4dec02ac86bcbe958f299f68ed25d543c23ef9
gh-99300: Use Py_NewRef() in Modules/_datetimemodule.c (#99465)

Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
Py_XNewRef() in Modules/_datetimemodule.c and Modules/_zoneinfo.c
Modules/_datetimemodule.c
Modules/_zoneinfo.c