]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45457: Minor fix to documentation for SSLContext.load_default_certs. (GH-28947)
authorLincolnPuzey <lincoln@puzey.dev>
Tue, 2 Nov 2021 21:27:44 +0000 (05:27 +0800)
committerGitHub <noreply@github.com>
Tue, 2 Nov 2021 21:27:44 +0000 (22:27 +0100)
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.

Doc/library/ssl.rst

index c1167416e528dfa2f186904ed59d4fa7443f0c8b..eb33d7e1778a7ff1b1f574849280d5f8afcd6632 100644 (file)
@@ -1576,7 +1576,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.