mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Style
This commit is contained in:
parent
6e69f7faa3
commit
4b878bd3d5
1 changed files with 2 additions and 2 deletions
|
@ -894,9 +894,9 @@ class HTTPConnection:
|
|||
self.putrequest(method, url, **skips)
|
||||
|
||||
if body and ('content-length' not in header_names):
|
||||
thelen=None
|
||||
thelen = None
|
||||
try:
|
||||
thelen=str(len(body))
|
||||
thelen = str(len(body))
|
||||
except TypeError as te:
|
||||
# If this is a file-like object, try to
|
||||
# fstat its file descriptor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue