Skip to content

Commit 10a44af

Browse files
authored
Merge pull request #3980 from anecdata/reasons2
ESP32-S2 update docs to match code usage of IPPROTO_*
2 parents f88a896 + e703e06 commit 10a44af

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

shared-bindings/socketpool/SocketPool.c

Lines changed: 2 additions & 4 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
71-
//| :param ~int type: SOCK_STREAM, SOCK_DGRAM or SOCK_RAW
72-
//| :param ~int proto: IPPROTO_TCP, IPPROTO_UDP or IPPROTO_RAW (ignored)"""
70+
//| :param ~int type: SOCK_STREAM, SOCK_DGRAM or SOCK_RAW"""
7371
//| ...
7472
//|
7573

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy