summaryrefslogtreecommitdiffstats
path: root/Lib/urllib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-02-03 07:46:41 (GMT)
committerGeorg Brandl <georg@python.org>2011-02-03 07:46:41 (GMT)
commit6153604bc700d06c6a280643743c547db7d0d4f6 (patch)
tree63910b4dd94025f52939ba0ceac8aa28efcb724b /Lib/urllib
parente951e917c67aba49b8018e94e095f669871fe63b (diff)
downloadcpython-6153604bc700d06c6a280643743c547db7d0d4f6.zip
cpython-6153604bc700d06c6a280643743c547db7d0d4f6.tar.gz
cpython-6153604bc700d06c6a280643743c547db7d0d4f6.tar.bz2
Remove lots of spaces within exception message.
Diffstat (limited to 'Lib/urllib')
-rw-r--r--Lib/urllib/request.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py
index 4436105..a188393 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(