mirror of
https://github.com/python/cpython.git
synced 2025-08-24 02:35:59 +00:00
bpo-33677: Fix signatures of tp_clear handlers for AST and deque. (GH-7196)
This commit is contained in:
parent
5d6c7ed5e3
commit
a5c42284e6
3 changed files with 8 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue