Skip to content

Commit 1cf2a80

Browse files
alexMariatta
authored andcommitted
Fixed a handful of typos (GH-343)
1 parent 6265842 commit 1cf2a80

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Doc/library/email.compat32-message.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ generating a serialized version of the mssage, and for recursively walking over
3737
the object tree. Note that duplicate headers are supported but special methods
3838
must be used to access them.
3939

40-
The :class:`Message` psuedo-dictionary is indexed by the header names, which
40+
The :class:`Message` pseudo-dictionary is indexed by the header names, which
4141
must be ASCII values. The values of the dictionary are strings that are
4242
supposed to contain only ASCII characters; there is some special handling for
4343
non-ASCII input, but it doesn't always produce the correct results. Headers
@@ -181,7 +181,7 @@ Here are the methods of the :class:`Message` class:
181181
This is a legacy method. On the
182182
:class:`~email.emailmessage.EmailMessage` class its functionality is
183183
replaced by :meth:`~email.message.EmailMessage.set_content` and the
184-
realted ``make`` and ``add`` methods.
184+
related ``make`` and ``add`` methods.
185185

186186

187187
.. method:: get_payload(i=None, decode=False)

Doc/library/email.message.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ message objects.
364364
*header* specifies an alternative header to :mailheader:`Content-Type`.
365365

366366
If the value contains non-ASCII characters, the charset and language may
367-
be explicity specified using the optional *charset* and *language*
367+
be explicitly specified using the optional *charset* and *language*
368368
parameters. Optional *language* specifies the :rfc:`2231` language,
369369
defaulting to the empty string. Both *charset* and *language* should be
370370
strings. The default is to use the ``utf8`` *charset* and ``None`` for

Doc/library/idle.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ longer or disable the extension.
446446
Calltips
447447
^^^^^^^^
448448

449-
A calltip is shown when one types :kbd:`(` after the name of an *acccessible*
449+
A calltip is shown when one types :kbd:`(` after the name of an *accessible*
450450
function. A name expression may include dots and subscripts. A calltip
451451
remains until it is clicked, the cursor is moved out of the argument area,
452452
or :kbd:`)` is typed. When the cursor is in the argument part of a definition,

Doc/library/ssl.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ Constants
616616

617617
.. data:: PROTOCOL_TLS_CLIENT
618618

619-
Auto-negotiate the the highest protocol version like :data:`PROTOCOL_SSLv23`,
619+
Auto-negotiate the highest protocol version like :data:`PROTOCOL_SSLv23`,
620620
but only support client-side :class:`SSLSocket` connections. The protocol
621621
enables :data:`CERT_REQUIRED` and :attr:`~SSLContext.check_hostname` by
622622
default.
@@ -625,7 +625,7 @@ Constants
625625

626626
.. data:: PROTOCOL_TLS_SERVER
627627

628-
Auto-negotiate the the highest protocol version like :data:`PROTOCOL_SSLv23`,
628+
Auto-negotiate the highest protocol version like :data:`PROTOCOL_SSLv23`,
629629
but only support server-side :class:`SSLSocket` connections.
630630

631631
.. versionadded:: 3.6
@@ -948,7 +948,7 @@ SSL Sockets
948948
:ref:`notes on non-blocking sockets <ssl-nonblocking>`.
949949

950950
Usually, :class:`SSLSocket` are not created directly, but using the
951-
the :meth:`SSLContext.wrap_socket` method.
951+
:meth:`SSLContext.wrap_socket` method.
952952

953953
.. versionchanged:: 3.5
954954
The :meth:`sendfile` method was added.

0 commit comments

Comments
 (0)