diff options
author | Rémi Lapeyre <remi.lapeyre@lenstra.fr> | 2020-06-07 07:05:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-07 07:05:33 (GMT) |
commit | b8867e5d5aca33511942632b5f4e359b9245b2fa (patch) | |
tree | 390718186376e503a76eeb3093448efefd9b0652 | |
parent | 0e96c419d7287c3c7f155c9f2de3c61020386256 (diff) | |
download | cpython-b8867e5d5aca33511942632b5f4e359b9245b2fa.zip cpython-b8867e5d5aca33511942632b5f4e359b9245b2fa.tar.gz cpython-b8867e5d5aca33511942632b5f4e359b9245b2fa.tar.bz2 |
Fix return type of test helper function heapctypewithbuffer_releasebuffer() (GH-20685)
-rw-r--r-- | Modules/_testcapimodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index d6a90b8..e0457ae 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -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); |