Skip to content

Commit feca9bb

Browse files
glk0JelleZijlstra
andauthored
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>
1 parent b156578 commit feca9bb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Lib/ssl.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@
1818
seconds past the Epoch (the time values
1919
returned from time.time())
2020
21-
fetch_server_certificate (HOST, PORT) -- fetch the certificate provided
22-
by the server running on HOST at port PORT. No
23-
validation of the certificate is performed.
21+
get_server_certificate (addr, ssl_version, ca_certs, timeout) -- Retrieve the
22+
certificate from the server at the specified
23+
address and return it as a PEM-encoded string
24+
2425
2526
Integer constants:
2627

0 commit comments

Comments
 (0)