Issue #28394: More typo fixes for 3.6+

This commit is contained in:
Martin Panter 2016-10-10 00:38:21 +00:00
parent fd1df3fef2
commit b1321fba53
3 changed files with 3 additions and 3 deletions

View File

@ -610,7 +610,7 @@ iterations of the loop.
.. opcode:: SETUP_ANNOTATIONS .. opcode:: SETUP_ANNOTATIONS
Checks whether ``__annotations__`` is defined in ``locals()``, if not it is 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>` or module body contains :term:`variable annotations <variable annotation>`
statically. statically.

View File

@ -3475,7 +3475,7 @@ if _have_threads:
client_context.verify_mode = ssl.CERT_REQUIRED client_context.verify_mode = ssl.CERT_REQUIRED
client_context.load_verify_locations(SIGNING_CA) client_context.load_verify_locations(SIGNING_CA)
# first conncetion without session # first connection without session
stats = server_params_test(client_context, server_context) stats = server_params_test(client_context, server_context)
session = stats['session'] session = stats['session']
self.assertTrue(session.id) self.assertTrue(session.id)

View File

@ -770,7 +770,7 @@ dir_fd_converter(PyObject *o, void *p)
* path.narrow * path.narrow
* Points to the path if it was expressed as bytes, * Points to the path if it was expressed as bytes,
* or it was Unicode and was encoded to bytes. (On Windows, * 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.) * The type is deliberately incompatible to prevent misuse.)
* path.fd * path.fd
* Contains a file descriptor if path.accept_fd was true * Contains a file descriptor if path.accept_fd was true