diff options
| author | Mark <56205165+gamblor21@users.noreply.github.com> | 2020-12-01 15:47:16 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-01 15:47:16 -0600 |
| commit | 237385798cb6989a5ed13e120c3cc5e2415af935 (patch) | |
| tree | 932aa4302e84bd59f84c29c2364f9c6d75192fb2 /shared-bindings/ssl/SSLContext.c | |
| parent | 23ed3ef971f8f38497337874da39273e5ae090d7 (diff) | |
| parent | 5b3c930e384ef6440f0f7b5167bb54ea68a8be76 (diff) | |
Merge branch 'main' into bus_device
Diffstat (limited to 'shared-bindings/ssl/SSLContext.c')
| -rw-r--r-- | shared-bindings/ssl/SSLContext.c | 2 |
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.""" //| ... |
