diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-05-26 10:17:08 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2018-05-26 10:17:08 (GMT) |
commit | 9ba3be4718bdf82e20280980807e054004a9bade (patch) | |
tree | 18b8d6c1cf8707ffd05491d6cb2e9fa90374dfc4 /Modules/xxlimited.c | |
parent | ecd0bb2693bfead04df543827cefc305bddd1ea7 (diff) | |
download | cpython-9ba3be4718bdf82e20280980807e054004a9bade.zip cpython-9ba3be4718bdf82e20280980807e054004a9bade.tar.gz cpython-9ba3be4718bdf82e20280980807e054004a9bade.tar.bz2 |
bpo-33644: Fix signatures of tp_finalize handlers in testing code. (GH-7111) (GH-7125)
(cherry picked from commit 19de8b3dd742fb53681478ad4fff57ed7c37a953)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Modules/xxlimited.c')
-rw-r--r-- | Modules/xxlimited.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/xxlimited.c b/Modules/xxlimited.c index 5041ac8..5586989 100644 --- a/Modules/xxlimited.c +++ b/Modules/xxlimited.c @@ -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 * |