socket library, import proper errnos

This commit is contained in:
pdunnigan
2013-11-21 12:46:08 -05:00
parent bfb0a10fd8
commit 2bb3981efd

View File

@@ -6,9 +6,12 @@ Copyright (c) 2001-2013 Python Software Foundation; All Rights Reserved.
from socket import *
import io
import errno
__all__ = ['SocketIO']
EINTR = errno.EINTR
_blocking_errnos = { errno.EAGAIN, errno.EWOULDBLOCK }
class SocketIO(io.RawIOBase):