[Python-checkins] bpo-46604: fix function name in ssl module docstring (#31064)
JelleZijlstra
webhook-mailer at python.org
Tue May 3 11:56:41 EDT 2022
https://github.com/python/cpython/commit/feca9bbd1f6489f2b6d2783bfc22fdb96e45b69f
commit: feca9bbd1f6489f2b6d2783bfc22fdb96e45b69f
branch: main
author: Kossi GLOKPOR <83467320+glk0 at users.noreply.github.com>
committer: JelleZijlstra <jelle.zijlstra at gmail.com>
date: 2022-05-03T09:56:24-06:00
summary:
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 at gmail.com>
files:
M Lib/ssl.py
diff --git a/Lib/ssl.py b/Lib/ssl.py
index dafb70a67864c..ebac1d60d52de 100644
--- a/Lib/ssl.py
+++ b/Lib/ssl.py
@@ -18,9 +18,10 @@
seconds past the Epoch (the time values
returned from time.time())
- fetch_server_certificate (HOST, PORT) -- fetch the certificate provided
- by the server running on HOST at port PORT. No
- validation of the certificate is performed.
+ get_server_certificate (addr, ssl_version, ca_certs, timeout) -- Retrieve the
+ certificate from the server at the specified
+ address and return it as a PEM-encoded string
+
Integer constants:
More information about the Python-checkins
mailing list