Skip to content

Commit 8318922

Browse files
authored
Add ENOTCONN to errno
ENOTCONN seems to be present in core micropython (v1.24.1), at least on my unix build, but not here – installing `errno` via `mip` resulted in me being unable to import it anymore. Signed-off-by: Nick Budak <[email protected]>
1 parent aad2e48 commit 8318922

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python-stdlib/errno/errno.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@
3434
ERANGE = 34 # Math result not representable
3535
EAFNOSUPPORT = 97 # Address family not supported by protocol
3636
ECONNRESET = 104 # Connection timed out
37+
ENOTCONN = 107 # Not connected
3738
ETIMEDOUT = 110 # Connection timed out
3839
EINPROGRESS = 115 # Operation now in progress

0 commit comments

Comments
 (0)