[Python-checkins] bpo-45457: Minor fix to documentation for SSLContext.load_default_certs. (GH-28947) (GH-29374)

ambv webhook-mailer at python.org
Tue Nov 2 17:53:51 EDT 2021

commit: 4ab6e524abd2d7f21c2d7a6eaee5be1f93baf140
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2021-11-02T22:53:45+01:00

bpo-45457: Minor fix to documentation for SSLContext.load_default_certs. (GH-28947) (GH-29374)

Specify that SSLContext.set_default_verify_paths is called on ALL systems.

The code of SSLContext.load_default_certs was changed in bpo-22449 to do this,
this fix corrects the documentation to match that change.
(cherry picked from commit 3551bf16ee5c25b6349209dd30e032f0f3b9ace3)

Co-authored-by: LincolnPuzey <lincoln at puzey.dev>

M Doc/library/ssl.rst

diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index 58f0497878a85..0b231f170aa05 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -1522,7 +1522,7 @@ to speed up repeated connections from the same clients.
    Load a set of default "certification authority" (CA) certificates from
    default locations. On Windows it loads CA certs from the ``CA`` and
-   ``ROOT`` system stores. On other systems it calls
+   ``ROOT`` system stores. On all systems it calls
    :meth:`SSLContext.set_default_verify_paths`. In the future the method may
    load CA certificates from other locations, too.

More information about the Python-checkins mailing list