summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-14 00:58:32 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-11-14 00:58:32 (GMT)
commitac34e09bbfe59e0d2075be7db317b91da6ca2c69 (patch)
treeea33de5931ff9ebc7543f6b9508f6cc28f28ce85 /Lib
parent06622ead8072f3602bba8cd1924f0897873ad8b1 (diff)
downloadcpython-ac34e09bbfe59e0d2075be7db317b91da6ca2c69.zip
cpython-ac34e09bbfe59e0d2075be7db317b91da6ca2c69.tar.gz
cpython-ac34e09bbfe59e0d2075be7db317b91da6ca2c69.tar.bz2
Correct Content-Type syntax in documentation
Diffstat (limited to 'Lib')
-rw-r--r--Lib/http/cookiejar.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/http/cookiejar.py b/Lib/http/cookiejar.py
index dbd34d2..cad6b3a 100644
--- a/Lib/http/cookiejar.py
+++ b/Lib/http/cookiejar.py
@@ -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 = []