summaryrefslogtreecommitdiff
path: root/shared-bindings/ssl/SSLContext.c
diff options
context:
space:
mode:
authormicroDev <70126934+microDev1@users.noreply.github.com>2020-11-08 00:00:01 +0530
committermicroDev <70126934+microDev1@users.noreply.github.com>2020-11-08 00:00:01 +0530
commit479567059e2bb60e2fd5a2d58be26df2a9e6deae (patch)
treecf218ca135a99ea99a4bc27fabe81d494153f1d9 /shared-bindings/ssl/SSLContext.c
parent80029f6929ebbf6c0a02c5320e59220b0501bd55 (diff)
parent18079c5bbe403a25556e19469a349742dca49633 (diff)
Merge branch 'main' into rotaryio-S2
Diffstat (limited to 'shared-bindings/ssl/SSLContext.c')
-rw-r--r--shared-bindings/ssl/SSLContext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/ssl/SSLContext.c b/shared-bindings/ssl/SSLContext.c
index d2c236d3b..9d4df7261 100644
--- a/shared-bindings/ssl/SSLContext.c
+++ b/shared-bindings/ssl/SSLContext.c
@@ -51,7 +51,7 @@ STATIC mp_obj_t ssl_sslcontext_make_new(const mp_obj_type_t *type, size_t n_args
return MP_OBJ_FROM_PTR(s);
}
-//| def wrap_socket(sock: socketpool.Socket, *, server_side: bool = False, server_hostname: str = None) -> socketpool.Socket:
+//| def wrap_socket(sock: socketpool.Socket, *, server_side: bool = False, server_hostname: Optional[str] = None) -> socketpool.Socket:
//| """Wraps the socket into a socket-compatible class that handles SSL negotiation.
//| The socket must be of type SOCK_STREAM."""
//| ...