summaryrefslogtreecommitdiffstats
path: root/Lib/http/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/http/client.py')
-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 8d62aa5..bb9fa9b 100644
--- a/Lib/http/client.py
+++ b/Lib/http/client.py
@@ -775,7 +775,7 @@ class HTTPConnection:
for d in data:
self.sock.sendall(d)
else:
- raise TypeError("data should be byte-like object\
+ raise TypeError("data should be a bytes-like object\
or an iterable, got %r " % type(it))
def _output(self, s):