mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Fix return type of test helper function heapctypewithbuffer_releasebuffer() (GH-20685)
This commit is contained in:
parent
0e96c419d7
commit
b8867e5d5a
1 changed files with 1 additions and 1 deletions
|
|
@ -6318,7 +6318,7 @@ heapctypewithbuffer_getbuffer(HeapCTypeWithBufferObject *self, Py_buffer *view,
|
|||
view, (PyObject*)self, (void *)self->buffer, 4, 1, flags);
|
||||
}
|
||||
|
||||
static int
|
||||
static void
|
||||
heapctypewithbuffer_releasebuffer(HeapCTypeWithBufferObject *self, Py_buffer *view)
|
||||
{
|
||||
assert(view->obj == (void*) self);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue