diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-11-27 17:34:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-27 17:34:35 (GMT) |
commit | d4f9cf5545d6d8844e0726552ef2e366f5cc3abd (patch) | |
tree | 7aefae9861ee6b83652f6a352397b9dc145cc0d3 /Modules/mmapmodule.c | |
parent | 1005c84535191a72ebb7587d8c5636a065b7ed79 (diff) | |
download | cpython-d4f9cf5545d6d8844e0726552ef2e366f5cc3abd.zip cpython-d4f9cf5545d6d8844e0726552ef2e366f5cc3abd.tar.gz cpython-d4f9cf5545d6d8844e0726552ef2e366f5cc3abd.tar.bz2 |
bpo-33029: Fix signatures of getter and setter functions. (GH-10746)
Fix also return type for few other functions (clear, releasebuffer).
Diffstat (limited to 'Modules/mmapmodule.c')
-rw-r--r-- | Modules/mmapmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c index 8663235..f4caf87 100644 --- a/Modules/mmapmodule.c +++ b/Modules/mmapmodule.c @@ -656,7 +656,7 @@ mmap_move_method(mmap_object *self, PyObject *args) } static PyObject * -mmap_closed_get(mmap_object *self) +mmap_closed_get(mmap_object *self, void *Py_UNUSED(ignored)) { #ifdef MS_WINDOWS return PyBool_FromLong(self->map_handle == NULL ? 1 : 0); |