Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b1321fb

Browse files
committed
Issue #28394: More typo fixes for 3.6+
1 parent fd1df3f commit b1321fb

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/dis.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ iterations of the loop.
610610
.. opcode:: SETUP_ANNOTATIONS
611611

612612
Checks whether ``__annotations__`` is defined in ``locals()``, if not it is
613-
set up to an empty ``dict``. This opcode is only emmitted if a class
613+
set up to an empty ``dict``. This opcode is only emitted if a class
614614
or module body contains :term:`variable annotations <variable annotation>`
615615
statically.
616616

Lib/test/test_ssl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3475,7 +3475,7 @@ def test_session(self):
34753475
client_context.verify_mode = ssl.CERT_REQUIRED
34763476
client_context.load_verify_locations(SIGNING_CA)
34773477

3478-
# first conncetion without session
3478+
# first connection without session
34793479
stats = server_params_test(client_context, server_context)
34803480
session = stats['session']
34813481
self.assertTrue(session.id)

Modules/posixmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ dir_fd_converter(PyObject *o, void *p)
770770
* path.narrow
771771
* Points to the path if it was expressed as bytes,
772772
* or it was Unicode and was encoded to bytes. (On Windows,
773-
* is an non-zero integer if the path was expressed as bytes.
773+
* is a non-zero integer if the path was expressed as bytes.
774774
* The type is deliberately incompatible to prevent misuse.)
775775
* path.fd
776776
* Contains a file descriptor if path.accept_fd was true

0 commit comments

Comments
 (0)