]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-124715: Fix method_dealloc(): use PyObject_GC_UnTrack() (#133199)
authorVictor Stinner <vstinner@python.org>
Thu, 1 May 2025 11:42:42 +0000 (13:42 +0200)
committerGitHub <noreply@github.com>
Thu, 1 May 2025 11:42:42 +0000 (13:42 +0200)
commit662dd294563ce86980c640ad67e3d460a72c9cb9
tree68542fd16690b8e5d0e175785a9bc76c9b775098
parent474f296718eb59391c929eec0e4c3df5fc11fb96
gh-124715: Fix method_dealloc(): use PyObject_GC_UnTrack() (#133199)

Replace _PyObject_GC_UNTRACK() with PyObject_GC_UnTrack() to not fail
if the method was already untracked.
Objects/classobject.c