Skip to content

Commit 7dcfb22

Browse files
committed
import EWOULDBLOCK from errno instead of socket
1 parent 9118da9 commit 7dcfb22

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/wolfssl/exceptions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222

2323
# pylint: disable=missing-docstring
2424

25-
from socket import error as socket_error, EWOULDBLOCK
25+
from socket import error as socket_error
26+
from errno import EWOULDBLOCK
2627

2728

2829
class SSLError(socket_error):

0 commit comments

Comments
 (0)