summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2015-04-13 19:06:15 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2015-04-13 19:06:15 (GMT)
commit97aa953550c743fa360a67dd6a6dbda15fd81405 (patch)
tree9214690d1388a92282bad151a5cf66b2a25dfcec
parent85e3ee749c351ebe0ad1ec28856d64da50b13f20 (diff)
downloadcpython-97aa953550c743fa360a67dd6a6dbda15fd81405.zip
cpython-97aa953550c743fa360a67dd6a6dbda15fd81405.tar.gz
cpython-97aa953550c743fa360a67dd6a6dbda15fd81405.tar.bz2
Fix duplicate doc entry for SSLContext.get_ca_certs()
(closes #18147)
-rw-r--r--Doc/library/ssl.rst16
1 files 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