diff options
| author | sw23 <sw23@users.noreply.github.com> | 2020-11-02 19:59:07 -0500 |
|---|---|---|
| committer | sw23 <sw23@users.noreply.github.com> | 2020-11-02 19:59:07 -0500 |
| commit | 88fcf4ef7e001e547ed94747df5d22b6736c881c (patch) | |
| tree | e3f1c0e400d0bf626cc194df28997ae5ad96b1f4 /shared-bindings/socketpool/SocketPool.c | |
| parent | 1f179b331750fbe05ccb4caff44e985234c9ee71 (diff) | |
Removing implementation-specific values for socket/socketpool class attributes
Diffstat (limited to 'shared-bindings/socketpool/SocketPool.c')
| -rw-r--r-- | shared-bindings/socketpool/SocketPool.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/shared-bindings/socketpool/SocketPool.c b/shared-bindings/socketpool/SocketPool.c index 2234f359e..73eeed265 100644 --- a/shared-bindings/socketpool/SocketPool.c +++ b/shared-bindings/socketpool/SocketPool.c @@ -57,12 +57,12 @@ STATIC mp_obj_t socketpool_socketpool_make_new(const mp_obj_type_t *type, size_t return MP_OBJ_FROM_PTR(s); } -//| AF_INET = 0 -//| AF_INET6 = 1 -//| SOCK_STREAM = 0 -//| SOCK_DGRAM = 1 -//| SOCK_RAW = 2 -//| IPPROTO_TCP = 6 +//| AF_INET: int +//| AF_INET6: int +//| 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: //| """Create a new socket |
