Skip to content

Commit 58f2d2d

Browse files
miss-islingtonglk0
andauthored
bpo-46604: fix function name in ssl module docstring (GH-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 <[email protected]> (cherry picked from commit feca9bb) Co-authored-by: Kossi GLOKPOR <[email protected]>
1 parent 5f709bd commit 58f2d2d

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)