Skip to content

Commit a2c9349

Browse files
author
Erlend E. Aasland
committed
Remove unneeded Py_SET_TYPE on teedataobject type
1 parent cb8c7fe commit a2c9349

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Modules/itertoolsmodule.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4505,7 +4505,6 @@ itertoolsmodule_exec(PyObject *m)
45054505
ADD_TYPE(m, state->tee_type, &tee_spec);
45064506
ADD_TYPE(m, state->teedataobject_type, &teedataobject_spec);
45074507
ADD_TYPE(m, state->ziplongest_type, &ziplongest_spec);
4508-
Py_SET_TYPE(state->teedataobject_type, &PyType_Type);
45094508

45104509
return 0;
45114510
}

0 commit comments

Comments
 (0)