Skip to content

Commit 1d711f2

Browse files
bpo-40724: Fix return type of test helper function heapctypewithbuffer_releasebuffer() (GH-20685) (GH-20690)
(cherry picked from commit b8867e5) Co-authored-by: Rémi Lapeyre <[email protected]>
1 parent 1e4fa91 commit 1d711f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_testcapimodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6318,7 +6318,7 @@ heapctypewithbuffer_getbuffer(HeapCTypeWithBufferObject *self, Py_buffer *view,
63186318
view, (PyObject*)self, (void *)self->buffer, 4, 1, flags);
63196319
}
63206320

6321-
static int
6321+
static void
63226322
heapctypewithbuffer_releasebuffer(HeapCTypeWithBufferObject *self, Py_buffer *view)
63236323
{
63246324
assert(view->obj == (void*) self);

0 commit comments

Comments
 (0)