summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorpenguindustin <penguindustin@gmail.com>2019-05-06 18:57:17 (GMT)
committerStéphane Wirtel <stephane@wirtel.be>2019-05-06 18:57:17 (GMT)
commit964663089547ca110199e23867b46b07ff4be88c (patch)
tree7936a6abc5e5c20058b4f51dbd8379eb4658e42d /Doc
parent3921b1cc34c2fc8b8b480c19a95ec306de710fdd (diff)
downloadcpython-964663089547ca110199e23867b46b07ff4be88c.zip
cpython-964663089547ca110199e23867b46b07ff4be88c.tar.gz
cpython-964663089547ca110199e23867b46b07ff4be88c.tar.bz2
bpo-36766: Typos in docs and code comments (GH-13116)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/email.generator.rst2
-rw-r--r--Doc/library/pyclbr.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/email.generator.rst b/Doc/library/email.generator.rst
index fc535a3..c09ae8c 100644
--- a/Doc/library/email.generator.rst
+++ b/Doc/library/email.generator.rst
@@ -188,7 +188,7 @@ to be using :class:`BytesGenerator`, and not :class:`Generator`.
(This is required because strings cannot represent non-ASCII bytes.)
Convert any bytes with the high bit set as needed using an
ASCII-compatible :mailheader:`Content-Transfer-Encoding`. That is,
- transform parts with non-ASCII :mailheader:`Cotnent-Transfer-Encoding`
+ transform parts with non-ASCII :mailheader:`Content-Transfer-Encoding`
(:mailheader:`Content-Transfer-Encoding: 8bit`) to an ASCII compatible
:mailheader:`Content-Transfer-Encoding`, and encode RFC-invalid non-ASCII
bytes in headers using the MIME ``unknown-8bit`` character set, thus
diff --git a/Doc/library/pyclbr.rst b/Doc/library/pyclbr.rst
index a70c8df..b80a2fa 100644
--- a/Doc/library/pyclbr.rst
+++ b/Doc/library/pyclbr.rst
@@ -44,7 +44,7 @@ modules.
.. versionadded:: 3.7
Descriptors for nested definitions. They are accessed through the
- new children attibute. Each has a new parent attribute.
+ new children attribute. Each has a new parent attribute.
The descriptors returned by these functions are instances of
Function and Class classes. Users are not expected to create instances