summaryrefslogtreecommitdiff
path: root/shared-bindings/socketpool
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-09-03 16:32:12 -0700
committerScott Shawcroft <scott@tannewt.org>2020-09-03 16:32:12 -0700
commit0b94638aeb667f2a417d859487083241a5749128 (patch)
treef0a90dfca1601c4c53d57482c0415108cb0ccc67 /shared-bindings/socketpool
parent5d8ac0428b239be2b0487a2da2d2192aa7ed8725 (diff)
Changes based on Dan's feedback
Diffstat (limited to 'shared-bindings/socketpool')
-rw-r--r--shared-bindings/socketpool/SocketPool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/socketpool/SocketPool.c b/shared-bindings/socketpool/SocketPool.c
index 5624a6632..0eeebd691 100644
--- a/shared-bindings/socketpool/SocketPool.c
+++ b/shared-bindings/socketpool/SocketPool.c
@@ -61,7 +61,7 @@ STATIC mp_obj_t socketpool_socketpool_make_new(const mp_obj_type_t *type, size_t
}
-//| def socket(self, family: int, type: int, proto: int) -> None:
+//| def socket(self, family: int = AF_INET, type: int = SOCK_STREAM, proto: int = IPPROTO_TCP) -> None:
//| """Create a new socket
//|
//| :param ~int family: AF_INET or AF_INET6