summaryrefslogtreecommitdiffstats
path: root/Lib/email/_header_value_parser.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-05-26 05:35:26 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-05-26 05:35:26 (GMT)
commit46f50726a0047ae81d478c3a206f587b8f35ed08 (patch)
tree2046fa568e0abebe8f055b30fbbd4585a429a708 /Lib/email/_header_value_parser.py
parenteb9aca3c071aab925831a389ab26816c170dc159 (diff)
downloadcpython-46f50726a0047ae81d478c3a206f587b8f35ed08.zip
cpython-46f50726a0047ae81d478c3a206f587b8f35ed08.tar.gz
cpython-46f50726a0047ae81d478c3a206f587b8f35ed08.tar.bz2
Issue #27076: Doc, comment and tests spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
Diffstat (limited to 'Lib/email/_header_value_parser.py')
-rw-r--r--Lib/email/_header_value_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/_header_value_parser.py b/Lib/email/_header_value_parser.py
index a7ce30e..2226e13 100644
--- a/Lib/email/_header_value_parser.py
+++ b/Lib/email/_header_value_parser.py
@@ -2872,7 +2872,7 @@ def parse_content_type_header(value):
_find_mime_parameters(ctype, value)
return ctype
ctype.append(token)
- # XXX: If we really want to follow the formal grammer we should make
+ # XXX: If we really want to follow the formal grammar we should make
# mantype and subtype specialized TokenLists here. Probably not worth it.
if not value or value[0] != '/':
ctype.defects.append(errors.InvalidHeaderDefect(