]> granicus.if.org Git - python/commitdiff
Issue #28394: More typo fixes for 3.6+
authorMartin Panter <vadmium+py@gmail.com>
Mon, 10 Oct 2016 00:38:21 +0000 (00:38 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Mon, 10 Oct 2016 00:38:21 +0000 (00:38 +0000)
Doc/library/dis.rst
Lib/test/test_ssl.py
Modules/posixmodule.c

index 3c6c0fd02053d7fc7f8e9792afd7c5c442563603..257bcd7ff2bfe5cdb8cfe2f7cd8d77df6a7a8735 100644 (file)
@@ -610,7 +610,7 @@ iterations of the loop.
 .. opcode:: SETUP_ANNOTATIONS
 
    Checks whether ``__annotations__`` is defined in ``locals()``, if not it is
-   set up to an empty ``dict``. This opcode is only emmitted if a class
+   set up to an empty ``dict``. This opcode is only emitted if a class
    or module body contains :term:`variable annotations <variable annotation>`
    statically.
 
index ad30105b0fb3b8465d4ce64cb694de87fe34583c..d203cddbdfb5eefddab2870973ad12b093d90cd4 100644 (file)
@@ -3475,7 +3475,7 @@ if _have_threads:
             client_context.verify_mode = ssl.CERT_REQUIRED
             client_context.load_verify_locations(SIGNING_CA)
 
-            # first conncetion without session
+            # first connection without session
             stats = server_params_test(client_context, server_context)
             session = stats['session']
             self.assertTrue(session.id)
index ef17981ff7d2332b02c19187ab0270cadce1497d..7aae5c7d8140926eca21ffda423ff0aa18cf473f 100644 (file)
@@ -770,7 +770,7 @@ dir_fd_converter(PyObject *o, void *p)
  *   path.narrow
  *     Points to the path if it was expressed as bytes,
  *     or it was Unicode and was encoded to bytes. (On Windows,
- *     is an non-zero integer if the path was expressed as bytes.
+ *     is a non-zero integer if the path was expressed as bytes.
  *     The type is deliberately incompatible to prevent misuse.)
  *   path.fd
  *     Contains a file descriptor if path.accept_fd was true