[Python-checkins] cpython (3.2): Fix spacing in string literal.

georg.brandl python-checkins at python.org
Wed Aug 3 08:28:27 CEST 2011


http://hg.python.org/cpython/rev/0a9b0712f51a
changeset:   71727:0a9b0712f51a
branch:      3.2
parent:      71714:5ff56995976c
user:        Georg Brandl <georg at python.org>
date:        Wed Aug 03 08:27:00 2011 +0200
summary:
  Fix spacing in string literal.

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