mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Merge typo and grammar fixes from 3.5
This commit is contained in:
commit
22fd1c262a
10 changed files with 89 additions and 88 deletions
|
@ -423,10 +423,10 @@ def join_header_words(lists):
|
|||
Takes a list of lists of (key, value) pairs and produces a single header
|
||||
value. Attribute values are quoted if needed.
|
||||
|
||||
>>> join_header_words([[("text/plain", None), ("charset", "iso-8859/1")]])
|
||||
'text/plain; charset="iso-8859/1"'
|
||||
>>> join_header_words([[("text/plain", None)], [("charset", "iso-8859/1")]])
|
||||
'text/plain, charset="iso-8859/1"'
|
||||
>>> join_header_words([[("text/plain", None), ("charset", "iso-8859-1")]])
|
||||
'text/plain; charset="iso-8859-1"'
|
||||
>>> join_header_words([[("text/plain", None)], [("charset", "iso-8859-1")]])
|
||||
'text/plain, charset="iso-8859-1"'
|
||||
|
||||
"""
|
||||
headers = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue