summaryrefslogtreecommitdiffstats
path: root/Lib/email/_header_value_parser.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-02-04 01:41:43 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2018-02-04 01:41:43 (GMT)
commite86db34dd3b43dc9c9beb21a82cd2c3b7c4c05df (patch)
tree93595a8942b755afd2b49bc574fb7dce9a072ea1 /Lib/email/_header_value_parser.py
parent52f745852e49498d7dd86fd309ae57f6a7af568f (diff)
downloadcpython-e86db34dd3b43dc9c9beb21a82cd2c3b7c4c05df.zip
cpython-e86db34dd3b43dc9c9beb21a82cd2c3b7c4c05df.tar.gz
cpython-e86db34dd3b43dc9c9beb21a82cd2c3b7c4c05df.tar.bz2
[3.7] bpo-32746: Fix multiple typos (GH-5144) (GH-5520)
Fix typos found by codespell in docs, docstrings, and comments. (cherry picked from commit c3d9508ff22ece9a96892b628dd5813e2fb0cd80) Co-authored-by: Leo Arias <leo.arias@canonical.com>
Diffstat (limited to 'Lib/email/_header_value_parser.py')
-rw-r--r--Lib/email/_header_value_parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/email/_header_value_parser.py b/Lib/email/_header_value_parser.py
index d2d1f5c..d8becee 100644
--- a/Lib/email/_header_value_parser.py
+++ b/Lib/email/_header_value_parser.py
@@ -2745,8 +2745,8 @@ def _fold_mime_parameters(part, lines, maxlen, encoding):
Using the decoded list of parameters and values, format them according to
the RFC rules, including using RFC2231 encoding if the value cannot be
- expressed in 'encoding' and/or the paramter+value is too long to fit within
- 'maxlen'.
+ expressed in 'encoding' and/or the parameter+value is too long to fit
+ within 'maxlen'.
"""
# Special case for RFC2231 encoding: start from decoded values and use