mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Remove lots of spaces within exception message.
This commit is contained in:
parent
e951e917c6
commit
6153604bc7
1 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue