[Python-checkins] cpython (merge 3.2 -> 3.2): merged heads

senthil.kumaran python-checkins at python.org
Wed Aug 3 12:47:26 CEST 2011


http://hg.python.org/cpython/rev/23e4ed4c8bf9
changeset:   71734:23e4ed4c8bf9
branch:      3.2
parent:      71730:57a836eb6916
parent:      71727:0a9b0712f51a
user:        Senthil Kumaran <senthil at uthcode.com>
date:        Wed Aug 03 18:46:24 2011 +0800
summary:
  merged heads

files:
  Lib/http/client.py |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list