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/socket/__init__.c | |
| parent | 1f179b331750fbe05ccb4caff44e985234c9ee71 (diff) | |
Removing implementation-specific values for socket/socketpool class attributes
Diffstat (limited to 'shared-bindings/socket/__init__.c')
| -rw-r--r-- | shared-bindings/socket/__init__.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/shared-bindings/socket/__init__.c b/shared-bindings/socket/__init__.c index 2969b3714..799bf28af 100644 --- a/shared-bindings/socket/__init__.c +++ b/shared-bindings/socket/__init__.c @@ -49,12 +49,12 @@ STATIC const mp_obj_type_t socket_type; //| class socket: //| -//| AF_INET = 2 -//| AF_INET6 = 10 -//| SOCK_STREAM = 1 -//| SOCK_DGRAM = 2 -//| SOCK_RAW = 3 -//| IPPROTO_TCP = 6 +//| AF_INET: int +//| AF_INET6: int +//| SOCK_STREAM: int +//| SOCK_DGRAM: int +//| SOCK_RAW: int +//| IPPROTO_TCP: int //| //| def __init__(self, family: int = AF_INET, type: int = SOCK_STREAM, proto: int = IPPROTO_TCP) -> None: //| """Create a new socket |
