From 14d289be60a2ad4cb65990a63ed2e75e9a8cb3ec Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sat, 26 May 2018 01:33:23 -0700 Subject: bpo-33644: Fix signatures of tp_finalize handlers in testing code. (GH-7111) (cherry picked from commit 19de8b3dd742fb53681478ad4fff57ed7c37a953) Co-authored-by: Serhiy Storchaka --- Modules/_testmultiphase.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Modules/_testmultiphase.c') diff --git a/Modules/_testmultiphase.c b/Modules/_testmultiphase.c index 8090a485f4..68404f2c6c 100644 --- a/Modules/_testmultiphase.c +++ b/Modules/_testmultiphase.c @@ -23,11 +23,10 @@ Example_traverse(ExampleObject *self, visitproc visit, void *arg) return 0; } -static int +static void Example_finalize(ExampleObject *self) { Py_CLEAR(self->x_attr); - return 0; } static PyObject * -- cgit v1.2.1