Skip to content

Commit ac8e7f7

Browse files
committed
docs/library/ssl: Change wrap_socket args keyfile/certfile to key/cert.
So they match the code in extmod/modssl_*.c. Signed-off-by: Damien George <[email protected]>
1 parent 0285cb2 commit ac8e7f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/library/ssl.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ facilities for network sockets, both client-side and server-side.
1313
Functions
1414
---------
1515

16-
.. function:: ssl.wrap_socket(sock, server_side=False, keyfile=None, certfile=None, cert_reqs=CERT_NONE, cadata=None, server_hostname=None, do_handshake=True)
16+
.. function:: ssl.wrap_socket(sock, server_side=False, key=None, cert=None, cert_reqs=CERT_NONE, cadata=None, server_hostname=None, do_handshake=True)
1717

1818
Wrap the given *sock* and return a new wrapped-socket object. The implementation
1919
of this function is to first create an `SSLContext` and then call the `SSLContext.wrap_socket`

0 commit comments

Comments
 (0)