diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2021-01-21 15:16:55 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-21 15:16:55 -0800 |
| commit | 10a44af5361112599d00d7f0c3ccdb2b4a9395ae (patch) | |
| tree | f372994d97758d96a10e4a70fa265ddef8890736 | |
| parent | f88a896c038f4b350de2f5be54fa21e7f2c99408 (diff) | |
| parent | e703e065952b7e3f25a23f08609160e9a7a22fae (diff) | |
Merge pull request #3980 from anecdata/reasons2
ESP32-S2 update docs to match code usage of IPPROTO_*
| -rw-r--r-- | shared-bindings/socketpool/SocketPool.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/shared-bindings/socketpool/SocketPool.c b/shared-bindings/socketpool/SocketPool.c index 73eeed265..8f4069faa 100644 --- a/shared-bindings/socketpool/SocketPool.c +++ b/shared-bindings/socketpool/SocketPool.c @@ -62,14 +62,12 @@ STATIC mp_obj_t socketpool_socketpool_make_new(const mp_obj_type_t *type, size_t //| SOCK_STREAM: int //| SOCK_DGRAM: int //| SOCK_RAW: int -//| IPPROTO_TCP: int //| -//| def socket(self, family: int = AF_INET, type: int = SOCK_STREAM, proto: int = IPPROTO_TCP) -> socketpool.Socket: +//| def socket(self, family: int = AF_INET, type: int = SOCK_STREAM) -> socketpool.Socket: //| """Create a new socket //| //| :param ~int family: AF_INET or AF_INET6 -//| :param ~int type: SOCK_STREAM, SOCK_DGRAM or SOCK_RAW -//| :param ~int proto: IPPROTO_TCP, IPPROTO_UDP or IPPROTO_RAW (ignored)""" +//| :param ~int type: SOCK_STREAM, SOCK_DGRAM or SOCK_RAW""" //| ... //| |
