summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2015-04-13 19:06:51 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2015-04-13 19:06:51 (GMT)
commitb9f2ab9eaebfa3ad09a3dc3e3f6909500b36dc93 (patch)
tree49260f2c8dcdfd5ebd6b3fbebf3bdf166024966b /Doc/library
parentd5aec7ba48c395db3386172b892e334bc55e44d3 (diff)
parent97aa953550c743fa360a67dd6a6dbda15fd81405 (diff)
downloadcpython-b9f2ab9eaebfa3ad09a3dc3e3f6909500b36dc93.zip
cpython-b9f2ab9eaebfa3ad09a3dc3e3f6909500b36dc93.tar.gz
cpython-b9f2ab9eaebfa3ad09a3dc3e3f6909500b36dc93.tar.bz2
Fix duplicate doc entry for SSLContext.get_ca_certs()
(closes #18147)
Diffstat (limited to 'Doc/library')
-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 37130be..31b4658 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -1195,6 +1195,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()
@@ -1375,18 +1379,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