summaryrefslogtreecommitdiff
path: root/shared-bindings/ssl
diff options
context:
space:
mode:
authorsw23 <sw23@users.noreply.github.com>2020-10-29 20:15:34 -0400
committersw23 <sw23@users.noreply.github.com>2020-10-29 20:15:34 -0400
commitad166ca479f405a9cb43fae9fe7b082d2e6ba19f (patch)
treebcea41d98dbab9bd61b464ac48315c46cbcba6a3 /shared-bindings/ssl
parent05d663b183b23432a6e1ff570100ebade5db45bc (diff)
Fixing make stub warnings and mypy issuesmak
Diffstat (limited to 'shared-bindings/ssl')
-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."""
//| ...