Skip to content

Commit f07dd48

Browse files
committed
change IPPROTO_* comments to match usage in current shared-bindings and common-hal code
1 parent 55c8075 commit f07dd48

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

shared-bindings/socketpool/SocketPool.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,12 @@ STATIC mp_obj_t socketpool_socketpool_make_new(const mp_obj_type_t *type, size_t
6262
//| SOCK_STREAM: int
6363
//| SOCK_DGRAM: int
6464
//| SOCK_RAW: int
65-
//| IPPROTO_TCP: int
6665
//|
67-
//| def socket(self, family: int = AF_INET, type: int = SOCK_STREAM, proto: int = IPPROTO_TCP) -> socketpool.Socket:
66+
//| def socket(self, family: int = AF_INET, type: int = SOCK_STREAM) -> socketpool.Socket:
6867
//| """Create a new socket
6968
//|
7069
//| :param ~int family: AF_INET or AF_INET6
7170
//| :param ~int type: SOCK_STREAM, SOCK_DGRAM or SOCK_RAW
72-
//| :param ~int proto: IPPROTO_TCP, IPPROTO_UDP or IPPROTO_RAW (ignored)"""
7371
//| ...
7472
//|
7573

0 commit comments

Comments
 (0)