diff options
Diffstat (limited to 'Lib/urllib/request.py')
-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 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( |