Remove dead code from _syscall_wrapper
MODIFY
urllib3/util/selectors.py
urllib3/util/selectors.py
@@ -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

Remove dead code from _syscall_wrapper