bpo-40898: Remove redundant if statements in tp_traverse (GH-20692)

4 files changed