Unverified Kaydet (Commit) 14d289be authored tarafından Miss Islington (bot)'s avatar Miss Islington (bot) Kaydeden (comit) GitHub

bpo-33644: Fix signatures of tp_finalize handlers in testing code. (GH-7111)

(cherry picked from commit 19de8b3d)
Co-authored-by: 's avatarSerhiy Storchaka <storchaka@gmail.com>
üst af1d007b
......@@ -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 *
......
......@@ -47,11 +47,10 @@ Xxo_traverse(XxoObject *self, visitproc visit, void *arg)
return 0;
}
static int
static void
Xxo_finalize(XxoObject *self)
{
Py_CLEAR(self->x_attr);
return 0;
}
static PyObject *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment