Small code cleanup.

This commit is contained in:
Raymond Hettinger 2008-03-05 21:04:32 +00:00
parent 66f91ea966
commit 6e3e415886
1 changed files with 2 additions and 4 deletions

View File

@ -2362,10 +2362,8 @@ permutations_dealloc(permutationsobject *po)
static int static int
permutations_traverse(permutationsobject *po, visitproc visit, void *arg) permutations_traverse(permutationsobject *po, visitproc visit, void *arg)
{ {
if (po->pool != NULL) Py_VISIT(po->pool);
Py_VISIT(po->pool); Py_VISIT(po->result);
if (po->result != NULL)
Py_VISIT(po->result);
return 0; return 0;
} }