summaryrefslogtreecommitdiffstats
path: root/Lib/http
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-08-02 10:34:53 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-08-02 10:34:53 (GMT)
commitd61535d50b66a68cc9aecebbf5faca26d7b60a28 (patch)
tree0faef08de4cf96b597157165ab14146ebd1331d0 /Lib/http
parent328b5015a2a1c5b56ac633fa7980a361db64a016 (diff)
parenteb71ad4c71a95d9b7397e3baaaadcb0687efa894 (diff)
downloadcpython-d61535d50b66a68cc9aecebbf5faca26d7b60a28.zip
cpython-d61535d50b66a68cc9aecebbf5faca26d7b60a28.tar.gz
cpython-d61535d50b66a68cc9aecebbf5faca26d7b60a28.tar.bz2
Fix closes Issue12676 - Invalid identifier used in TypeError message in http.client.
Reported by Popa Claudiu and Patch by Santoso Wijaya.
Diffstat (limited to 'Lib/http')
-rw-r--r--Lib/http/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/http/client.py b/Lib/http/client.py
index 2e68b3c..82213c3 100644
--- a/Lib/http/client.py
+++ b/Lib/http/client.py
@@ -778,7 +778,7 @@ class HTTPConnection:
self.sock.sendall(d)
else:
raise TypeError("data should be a bytes-like object\
- or an iterable, got %r " % type(it))
+ or an iterable, got %r " % type(data))
def _output(self, s):
"""Add a line of output to the current request buffer.