mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merge typo and grammar fixes from 3.4 into 3.5
This commit is contained in:
commit
32acc16cda
7 changed files with 12 additions and 12 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