]> granicus.if.org Git - python/commitdiff
Issue #22564: ssl doc: fix typos
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 10 Oct 2014 10:04:15 +0000 (12:04 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 10 Oct 2014 10:04:15 +0000 (12:04 +0200)
Doc/library/ssl.rst

index 5ab6c14d8ed4ca267ee1005b9d488836d3a1ecec..3c9c60ffe8427d061b2ace6e1c0d1e246016142c 100644 (file)
@@ -1005,7 +1005,7 @@ to speed up repeated connections from the same clients.
    :data:`CERT_NONE`.  At least one of *cafile* or *capath* must be specified.
 
    This method can also load certification revocation lists (CRLs) in PEM or
-   or DER format. In order to make use of CRLs, :attr:`SSLContext.verify_flags`
+   DER format. In order to make use of CRLs, :attr:`SSLContext.verify_flags`
    must be configured properly.
 
    The *cafile* string, if present, is the path to a file of concatenated
@@ -1671,7 +1671,7 @@ Manual settings
 Verifying certificates
 ''''''''''''''''''''''
 
-When calling the the :class:`SSLContext` constructor directly,
+When calling the :class:`SSLContext` constructor directly,
 :const:`CERT_NONE` is the default.  Since it does not authenticate the other
 peer, it can be insecure, especially in client mode where most of time you
 would like to ensure the authenticity of the server you're talking to.