summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorKossi GLOKPOR <83467320+glk0@users.noreply.github.com>2022-05-03 15:56:24 (GMT)
committerGitHub <noreply@github.com>2022-05-03 15:56:24 (GMT)
commitfeca9bbd1f6489f2b6d2783bfc22fdb96e45b69f (patch)
treec420da3c7d39ac05cc478c6ac2393138f0d14a80 /Lib
parentb156578bd63a94fe3d80a4c6a8dbc067feba5d06 (diff)
downloadcpython-feca9bbd1f6489f2b6d2783bfc22fdb96e45b69f.zip
cpython-feca9bbd1f6489f2b6d2783bfc22fdb96e45b69f.tar.gz
cpython-feca9bbd1f6489f2b6d2783bfc22fdb96e45b69f.tar.bz2
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>
Diffstat (limited to 'Lib')
-rw-r--r--Lib/ssl.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/ssl.py b/Lib/ssl.py
index dafb70a..ebac1d6 100644
--- a/Lib/ssl.py
+++ b/Lib/ssl.py
@@ -18,9 +18,10 @@ Functions:
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: