diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-05-31 07:34:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-31 07:34:34 +0300 |
commit | a5c42284e69fb309bdd17ee8c1c120d1be383012 (patch) | |
tree | 4309186f7e192e3ac29a8992f81de906211feb51 /Python/Python-ast.c | |
parent | bpo-33532: Fix multiprocessing test_ignore() (#7262) (diff) | |
download | cpython-a5c42284e69fb309bdd17ee8c1c120d1be383012.tar.gz cpython-a5c42284e69fb309bdd17ee8c1c120d1be383012.tar.bz2 cpython-a5c42284e69fb309bdd17ee8c1c120d1be383012.zip |
bpo-33677: Fix signatures of tp_clear handlers for AST and deque. (GH-7196)
Diffstat (limited to 'Python/Python-ast.c')
-rw-r--r-- | Python/Python-ast.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/Python-ast.c b/Python/Python-ast.c index 38b9292577f..6a2f28e0e71 100644 --- a/Python/Python-ast.c +++ b/Python/Python-ast.c @@ -528,10 +528,11 @@ ast_traverse(AST_object *self, visitproc visit, void *arg) return 0; } -static void +static int ast_clear(AST_object *self) { Py_CLEAR(self->dict); + return 0; } static int |