Use _Py_RVALUE() in macros (#99844)
The following macros are modified to use _Py_RVALUE(), so they can no longer be used as l-value: * DK_LOG_SIZE() * _PyCode_CODE() * _PyList_ITEMS() * _PyTuple_ITEMS() * _Py_SLIST_HEAD() * _Py_SLIST_ITEM_NEXT() _PyCode_CODE() is private and other macros are part of the internal C API.
V
Victor Stinner committed
7bae15cf37239d4d345e09cc318bd82d03ec30cd
Parent: 6541798
Committed by GitHub <noreply@github.com>
on 11/28/2022, 4:42:22 PM