bpo-46604: fix function name in ssl module docstring (#31064)
The function fetch_server_certificate is replaced by get_server_certificate in the module. I reflected the change in the module docstrings. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
@@ -18,9 +18,10 @@ Functions:
|
|||||||
seconds past the Epoch (the time values
|
seconds past the Epoch (the time values
|
||||||
returned from time.time())
|
returned from time.time())
|
||||||
|
|
||||||
fetch_server_certificate (HOST, PORT) -- fetch the certificate provided
|
get_server_certificate (addr, ssl_version, ca_certs, timeout) -- Retrieve the
|
||||||
by the server running on HOST at port PORT. No
|
certificate from the server at the specified
|
||||||
validation of the certificate is performed.
|
address and return it as a PEM-encoded string
|
||||||
|
|
||||||
|
|
||||||
Integer constants:
|
Integer constants:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user