commit | a4dd46a47fe1d4fe1f1738c2f5b3712de41056b9 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Wed May 30 22:31:21 2018 -0700 |
committer | GitHub <noreply@github.com> | Wed May 30 22:31:21 2018 -0700 |
tree | a8e59100578097dd04805ab1b83ac6b68f1215cb | |
parent | e76b8c446493d0f028d9e4d9876ad1348fefde1c [diff] [blame] |
bpo-33677: Fix signatures of tp_clear handlers for AST and deque. (GH-7196) (cherry picked from commit a5c42284e69fb309bdd17ee8c1c120d1be383012) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index 399e79e..44e3d40 100644 --- a/Parser/asdl_c.py +++ b/Parser/asdl_c.py
@@ -647,10 +647,11 @@ return 0; } -static void +static int ast_clear(AST_object *self) { Py_CLEAR(self->dict); + return 0; } static int