Skip to content

Commit 8b1a2f9

Browse files
committed
Remove redundant lines
1 parent c1530c0 commit 8b1a2f9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Objects/exceptions.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4601,9 +4601,6 @@ _PyBuiltins_AddExceptions(PyObject *bltinmod)
46014601
if (PyDict_SetItemString(mod_dict, "EnvironmentError", PyExc_OSError)) {
46024602
return -1;
46034603
}
4604-
if (PyDict_SetItemString(mod_dict, "EnvironmentError", PyExc_OSError)) {
4605-
return -1;
4606-
}
46074604
if (PyDict_SetItemString(mod_dict, "IOError", PyExc_OSError)) {
46084605
return -1;
46094606
}

0 commit comments

Comments
 (0)