mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Run Tools/scripts/reindent.py (#94225)
Reindent files which were not properly formatted (PEP 8: 4 spaces). Remove also some trailing spaces.
This commit is contained in:
parent
d4792ce916
commit
e87ada48a9
4 changed files with 4 additions and 5 deletions
|
@ -956,7 +956,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