mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Run Tools/scripts/reindent.py (GH-94225)
Reindent files which were not properly formatted (PEP 8: 4 spaces).
Remove also some trailing spaces.
(cherry picked from commit e87ada48a9
)
Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
parent
68112c3f70
commit
f0f3a424af
4 changed files with 4 additions and 5 deletions
|
@ -942,7 +942,7 @@ class HTTPConnection:
|
|||
(self.host,self.port), self.timeout, self.source_address)
|
||||
# Might fail in OSs that don't implement TCP_NODELAY
|
||||
try:
|
||||
self.sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
|
||||
self.sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
|
||||
except OSError as e:
|
||||
if e.errno != errno.ENOPROTOOPT:
|
||||
raise
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue