fix pyflakes error in _socket3.py