commit | 6e3e415886fbd1c9e6df8393f87d7d40d96b5ec8 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Wed Mar 05 21:04:32 2008 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Wed Mar 05 21:04:32 2008 +0000 |
tree | b27ab64af828ac9e2f243bb524699af2f31583fa | |
parent | 66f91ea966b82410fa3c5d8d6617ffc0904417a0 [diff] [blame] |
Small code cleanup.
diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c index fe06ef4..4d0ad08 100644 --- a/Modules/itertoolsmodule.c +++ b/Modules/itertoolsmodule.c
@@ -2362,10 +2362,8 @@ static int permutations_traverse(permutationsobject *po, visitproc visit, void *arg) { - if (po->pool != NULL) - Py_VISIT(po->pool); - if (po->result != NULL) - Py_VISIT(po->result); + Py_VISIT(po->pool); + Py_VISIT(po->result); return 0; }