]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-34906: Doc: Fix typos (GH-9712)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 5 Oct 2018 14:35:18 +0000 (07:35 -0700)
committerGitHub <noreply@github.com>
Fri, 5 Oct 2018 14:35:18 +0000 (07:35 -0700)
(cherry picked from commit 07fbbfde1b300369b4f8d1cfb80045fbb23b7091)

Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
Doc/library/dis.rst
Doc/library/ssl.rst
Doc/library/zipapp.rst
Doc/whatsnew/3.6.rst
Lib/bdb.py
Modules/_ssl.c

index 4f84e5b637bfdff0a6aa0157526a8e2381e7de07..6bbef3844de5ae726344c3a9bd217cba4f5f9f78 100644 (file)
@@ -149,7 +149,7 @@ operation is being performed, so the intermediate analysis object isn't useful:
 .. function:: dis(x=None, *, file=None, depth=None)
 
    Disassemble the *x* object.  *x* can denote either a module, a class, a
-   method, a function, a generator, an asynchronous generator, a couroutine,
+   method, a function, a generator, an asynchronous generator, a coroutine,
    a code object, a string of source code or a byte sequence of raw bytecode.
    For a module, it disassembles all functions. For a class, it disassembles
    all methods (including class and static methods). For a code object or
index dd2fccc2e4bcfc16ee9b6d9cf2ad8c99f236b3ee..911b28d02346cc066f58a3a318331c6ec7e6097b 100644 (file)
@@ -2658,7 +2658,7 @@ of TLS/SSL.  Some new TLS 1.3 features are not yet available.
 - TLS 1.3 uses a disjunct set of cipher suites. All AES-GCM and
   ChaCha20 cipher suites are enabled by default.  The method
   :meth:`SSLContext.set_ciphers` cannot enable or disable any TLS 1.3
-  ciphers yet, but :meth:`SSLContext.get_cipers` returns them.
+  ciphers yet, but :meth:`SSLContext.get_ciphers` returns them.
 - Session tickets are no longer sent as part of the initial handshake and
   are handled differently.  :attr:`SSLSocket.session` and :class:`SSLSession`
   are not compatible with TLS 1.3.
index 1c45b75955da10b1457b166ed339afe5f4968e6f..728315251e082439bcd896069d9029d25cd53205 100644 (file)
@@ -195,7 +195,7 @@ Pack up a directory into an archive, and run it.
    $ python myapp.pyz
    <output from myapp>
 
-The same can be done using the :func:`create_archive` functon::
+The same can be done using the :func:`create_archive` function::
 
    >>> import zipapp
    >>> zipapp.create_archive('myapp.pyz', 'myapp')
index d5358b3efeae7f26ff014fa17ea56eadb29028fc..fec7c620d3b83eba7c082070f9b82ec7cf2cfd3f 100644 (file)
@@ -1623,7 +1623,7 @@ a class variable and should not be set on instances of that class.
 <https://github.com/python/typing/pull/280>`_.)
 
 A new :const:`~typing.TYPE_CHECKING` constant that is assumed to be
-``True`` by the static type chekers, but is ``False`` at runtime.
+``True`` by the static type checkers, but is ``False`` at runtime.
 (Contributed by Guido van Rossum in `Github #230
 <https://github.com/python/typing/issues/230>`_.)
 
index 880ff5daf9953de61ca92bbc0a085a9b11bc9016..25c6260c47c7e158efa4813568a0f0802df813af 100644 (file)
@@ -74,7 +74,7 @@ class Bdb:
             return: A function or other code block is about to return.
             exception: An exception has occurred.
             c_call: A C function is about to be called.
-            c_return: A C functon has returned.
+            c_return: A C function has returned.
             c_exception: A C function has raised an exception.
 
         For the Python events, specialized functions (see the dispatch_*()
index 3c9d46e43d94643bc00df3cc7bb22b5940c07798..4253e2a772019d5fcc72934e26fb628ca975ee0c 100644 (file)
@@ -273,7 +273,7 @@ SSL_SESSION_get_ticket_lifetime_hint(const SSL_SESSION *s)
      #error "Py_SSL_DEFAULT_CIPHERS 0 needs Py_SSL_DEFAULT_CIPHER_STRING"
   #endif
 #elif PY_SSL_DEFAULT_CIPHERS == 1
-/* Python custom selection of sensible ciper suites
+/* Python custom selection of sensible cipher suites
  * DEFAULT: OpenSSL's default cipher list. Since 1.0.2 the list is in sensible order.
  * !aNULL:!eNULL: really no NULL ciphers
  * !MD5:!3DES:!DES:!RC4:!IDEA:!SEED: no weak or broken algorithms on old OpenSSL versions.