From: Georg Brandl Date: Thu, 3 Feb 2011 07:46:41 +0000 (+0000) Subject: Remove lots of spaces within exception message. X-Git-Tag: v3.2rc3~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6153604bc700d06c6a280643743c547db7d0d4f6;p=python Remove lots of spaces within exception message. --- diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index 4436105a07..a188393f79 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -1057,8 +1057,8 @@ class AbstractHTTPHandler(BaseHandler): mv = memoryview(data) except TypeError: if isinstance(data, collections.Iterable): - raise ValueError("Content-Length should be specified \ - for iterable data of type %r %r" % (type(data), + raise ValueError("Content-Length should be specified " + "for iterable data of type %r %r" % (type(data), data)) else: request.add_unredirected_header(