diff options
author | Victor Stinner <vstinner@python.org> | 2020-06-22 15:39:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-22 15:39:32 (GMT) |
commit | c45dbe93b7094fe014442c198727ee38b25541c4 (patch) | |
tree | 9ee531ffa21bda6d8edfdcfdf046e75b98e597fa /Include/cpython/listobject.h | |
parent | 384621c42f9102e31ba2c47feba144af09c989e5 (diff) | |
download | cpython-c45dbe93b7094fe014442c198727ee38b25541c4.zip cpython-c45dbe93b7094fe014442c198727ee38b25541c4.tar.gz cpython-c45dbe93b7094fe014442c198727ee38b25541c4.tar.bz2 |
bpo-41078: Add pycore_list.h internal header file (GH-21057)
* Move _PyList_ITEMS() to pycore_list.h.
* The C extension "_heapq" is now built with Py_BUILD_CORE_MODULE
macro defined to access the internal C API.
Diffstat (limited to 'Include/cpython/listobject.h')
-rw-r--r-- | Include/cpython/listobject.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/cpython/listobject.h b/Include/cpython/listobject.h index b1af5f6..70b9d83 100644 --- a/Include/cpython/listobject.h +++ b/Include/cpython/listobject.h @@ -32,4 +32,3 @@ PyAPI_FUNC(void) _PyList_DebugMallocStats(FILE *out); #define PyList_GET_ITEM(op, i) (_PyList_CAST(op)->ob_item[i]) #define PyList_SET_ITEM(op, i, v) (_PyList_CAST(op)->ob_item[i] = (v)) #define PyList_GET_SIZE(op) Py_SIZE(_PyList_CAST(op)) -#define _PyList_ITEMS(op) (_PyList_CAST(op)->ob_item) |