Skip to content

Commit ba7918a

Browse files
committed
Clean up some code
1 parent 2ae3347 commit ba7918a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

shared-bindings/socketpool/SocketPool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ MP_DEFINE_EXCEPTION(gaierror, OSError)
111111
//| IP_MULTICAST_TTL: int
112112
//|
113113
//| def socket(
114-
//| self, family: int = AF_INET, type: int = SOCK_STREAM, proto: int = 0
114+
//| self, family: int = AF_INET, type: int = SOCK_STREAM, proto: int = IPPROTO_IP
115115
//| ) -> socketpool.Socket:
116116
//| """Create a new socket
117117
//|

shared-bindings/socketpool/SocketPool.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ typedef enum {
4545
} socketpool_socketpool_addressfamily_t;
4646

4747
typedef enum {
48-
// SOCKETPOOL_IPPROTO_IP = 0,
49-
// SOCKETPOOL_IPPROTO_TCP = 6,
5048
SOCKETPOOL_IPPROTO_AH = 51,
5149
SOCKETPOOL_IPPROTO_DSTOPTS = 60,
5250
SOCKETPOOL_IPPROTO_EGP = 8,

0 commit comments

Comments
 (0)