From 97aa953550c743fa360a67dd6a6dbda15fd81405 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Mon, 13 Apr 2015 21:06:15 +0200 Subject: Fix duplicate doc entry for SSLContext.get_ca_certs() (closes #18147) --- Doc/library/ssl.rst | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index 394bc9f..bc28e97 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -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 -- cgit v0.12