diff options
author | Georg Brandl <georg@python.org> | 2011-02-03 07:46:41 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-02-03 07:46:41 (GMT) |
commit | 6153604bc700d06c6a280643743c547db7d0d4f6 (patch) | |
tree | 63910b4dd94025f52939ba0ceac8aa28efcb724b /Lib | |
parent | e951e917c67aba49b8018e94e095f669871fe63b (diff) | |
download | cpython-6153604bc700d06c6a280643743c547db7d0d4f6.zip cpython-6153604bc700d06c6a280643743c547db7d0d4f6.tar.gz cpython-6153604bc700d06c6a280643743c547db7d0d4f6.tar.bz2 |
Remove lots of spaces within exception message.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/urllib/request.py | 4 |
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( |