Skip to content

Commit

Permalink
bpo-46604: fix function name in ssl module docstring (GH-31064)
Browse files Browse the repository at this point in the history
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>
(cherry picked from commit feca9bb)

Co-authored-by: Kossi GLOKPOR <83467320+glk0@users.noreply.github.com>
  • Loading branch information
miss-islington and glk0 committed May 3, 2022
1 parent 020f5c4 commit a23e472
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Lib/ssl.py
Expand Up @@ -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:
Expand Down

0 comments on commit a23e472

Please sign in to comment.