summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-10-10 00:38:21 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-10-10 00:38:21 (GMT)
commitb1321fba53123fde88278e074b1e16ed206a18ad (patch)
treec5a2762fda8ab11c49700843c3a8dead110654cc
parentfd1df3fef2ebe334e5a58e9e6e35dbd77d0a34ca (diff)
downloadcpython-b1321fba53123fde88278e074b1e16ed206a18ad.zip
cpython-b1321fba53123fde88278e074b1e16ed206a18ad.tar.gz
cpython-b1321fba53123fde88278e074b1e16ed206a18ad.tar.bz2
Issue #28394: More typo fixes for 3.6+
-rw-r--r--Doc/library/dis.rst2
-rw-r--r--Lib/test/test_ssl.py2
-rw-r--r--Modules/posixmodule.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 3c6c0fd..257bcd7 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -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.
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index ad30105..d203cdd 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -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)
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index ef17981..7aae5c7 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -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