]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-117142: ctypes: Unify meta tp slot functions (GH-117143)
authorneonene <53406459+neonene@users.noreply.github.com>
Mon, 1 Apr 2024 13:28:14 +0000 (22:28 +0900)
committerGitHub <noreply@github.com>
Mon, 1 Apr 2024 13:28:14 +0000 (15:28 +0200)
commitdd44ab994b7262f0704d64996e0a1bc37b233407
tree571018340d10e412335e4e83d981bc43f59f20d7
parent3de09cadde788065a4f2d45117e789c9353bbd12
gh-117142: ctypes: Unify meta tp slot functions (GH-117143)

Integrates the following ctypes meta tp slot functions:
* `CDataType_traverse()` into `CType_Type_traverse()`.
* `CDataType_clear()` into `CType_Type_clear()`.
* `CDataType_dealloc()` into `CType_Type_dealloc()`.
* `CDataType_repeat()` into `CType_Type_repeat()`.
Modules/_ctypes/_ctypes.c
Modules/_ctypes/ctypes.h
Modules/_ctypes/stgdict.c