mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
merge 3.2
This commit is contained in:
commit
84e821e961
1 changed files with 1 additions and 3 deletions
|
|
@ -965,10 +965,8 @@ sm_traverse(staticmethod *sm, visitproc visit, void *arg)
|
|||
static int
|
||||
sm_clear(staticmethod *sm)
|
||||
{
|
||||
Py_XDECREF(sm->sm_callable);
|
||||
sm->sm_callable = NULL;
|
||||
Py_CLEAR(sm->sm_callable);
|
||||
Py_CLEAR(sm->sm_dict);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue