Remove dead code from _syscall_wrapper
@@ -102,8 +102,6 @@ else:
errcode = None
if hasattr(e, "errno"):
errcode = e.errno
- elif hasattr(e, "args"):
- errcode = e.args[0]
# Also test for the Windows equivalent of EINTR.
is_interrupt = (errcode == errno.EINTR or (hasattr(errno, "WSAEINTR") and
