Merge with 3.2.

This commit is contained in:
Georg Brandl 2011-08-03 08:29:12 +02:00
commit 83fad3e2ce
1 changed files with 2 additions and 2 deletions

View File

@ -777,8 +777,8 @@ class HTTPConnection:
for d in data: for d in data:
self.sock.sendall(d) self.sock.sendall(d)
else: else:
raise TypeError("data should be a bytes-like object\ raise TypeError("data should be a bytes-like object "
or an iterable, got %r " % type(data)) "or an iterable, got %r" % type(data))
def _output(self, s): def _output(self, s):
"""Add a line of output to the current request buffer. """Add a line of output to the current request buffer.