]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39573: Add Py_SET_SIZE() function (GH-18400)
authorVictor Stinner <vstinner@python.org>
Fri, 7 Feb 2020 11:05:12 +0000 (12:05 +0100)
committerGitHub <noreply@github.com>
Fri, 7 Feb 2020 11:05:12 +0000 (12:05 +0100)
commitb10dc3e7a11fcdb97e285882eba6da92594f90f9
tree6c304386f0a2be9d0d6213cbb45b3ff78f60b040
parent877ea88934a5164be4d9f15207694fad4173d87d
bpo-39573: Add Py_SET_SIZE() function (GH-18400)

Add Py_SET_SIZE() function to set the size of an object.
Doc/c-api/structures.rst
Include/cpython/objimpl.h
Include/object.h
Misc/NEWS.d/next/C API/2020-02-07-10-41-53.bpo-39573.EG9VDI.rst [new file with mode: 0644]
Objects/object.c