mirror of https://github.com/python/cpython.git
merge 3.2
This commit is contained in:
commit
84e821e961
|
@ -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…
Reference in New Issue