]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix duplicate doc entry for SSLContext.get_ca_certs()
authorAntoine Pitrou <solipsis@pitrou.net>
Mon, 13 Apr 2015 19:06:15 +0000 (21:06 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Mon, 13 Apr 2015 19:06:15 +0000 (21:06 +0200)
(closes #18147)

Doc/library/ssl.rst

index 394bc9f24a0eae611fd59604ca91a45f8bfcc283..bc28e97bab72f26c41c8028cb5853d017302da48 100644 (file)
@@ -1107,6 +1107,10 @@ to speed up repeated connections from the same clients.
    does not contain certificates from *capath* unless a certificate was
    requested and loaded by a SSL connection.
 
+   .. note::
+      Certificates in a capath directory aren't loaded unless they have
+      been used at least once.
+
    .. versionadded:: 3.4
 
 .. method:: SSLContext.set_default_verify_paths()
@@ -1263,18 +1267,6 @@ to speed up repeated connections from the same clients.
       >>> stats['hits'], stats['misses']
       (0, 0)
 
-.. method:: SSLContext.get_ca_certs(binary_form=False)
-
-   Returns a list of dicts with information of loaded CA certs. If the
-   optional argument is true, returns a DER-encoded copy of the CA
-   certificate.
-
-   .. note::
-      Certificates in a capath directory aren't loaded unless they have
-      been used at least once.
-
-   .. versionadded:: 3.4
-
 .. attribute:: SSLContext.check_hostname
 
    Wether to match the peer cert's hostname with :func:`match_hostname` in