Skip to content

Commit 15a6233

Browse files
thatbudakguydpgeorge
authored andcommitted
errno: Add ENOTCONN constant.
This is present in core MicroPython so needs to be added here. Signed-off-by: Nick Budak <[email protected]>
1 parent aad2e48 commit 15a6233

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
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

python-stdlib/errno/manifest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
metadata(version="0.1.4")
1+
metadata(version="0.2.0")
22

33
module("errno.py")

0 commit comments

Comments
 (0)