commit | d4f9cf5545d6d8844e0726552ef2e366f5cc3abd | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Tue Nov 27 19:34:35 2018 +0200 |
committer | GitHub <noreply@github.com> | Tue Nov 27 19:34:35 2018 +0200 |
tree | 7aefae9861ee6b83652f6a352397b9dc145cc0d3 | |
parent | 1005c84535191a72ebb7587d8c5636a065b7ed79 [diff] [blame] |
bpo-33029: Fix signatures of getter and setter functions. (GH-10746) Fix also return type for few other functions (clear, releasebuffer).
diff --git a/Objects/cellobject.c b/Objects/cellobject.c index 6b7136c..86bebb9 100644 --- a/Objects/cellobject.c +++ b/Objects/cellobject.c
@@ -112,7 +112,7 @@ } static int -cell_set_contents(PyCellObject *op, PyObject *obj) +cell_set_contents(PyCellObject *op, PyObject *obj, void *Py_UNUSED(ignored)) { Py_XINCREF(obj); Py_XSETREF(op->ob_ref, obj);