Skip to content

Commit

Permalink
merge 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminp committed Feb 19, 2012
2 parents 01d7eba + 496c53d commit 84e821e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Objects/funcobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 84e821e

Please sign in to comment.