]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add Py_MEMBER_SIZE macro
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 8 Sep 2016 16:33:56 +0000 (09:33 -0700)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 8 Sep 2016 16:33:56 +0000 (09:33 -0700)
commit98ee9d5b738eaf098cfd37c9383f8f2496a964d5
treea8f5041e1ece9795a2b26b61756d5749d3e4834f
parent742da040db28e1284615e88874d5c952da80344e
Add Py_MEMBER_SIZE macro

Issue #27350: use Py_MEMBER_SIZE() macro to get the size of
PyDictKeyEntry.dk_indices, rather than hardcoding 8.
Include/pymacro.h
Objects/dictobject.c