mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Reindent files which were not properly formatted (PEP 8: 4 spaces).
Remove also some trailing spaces.
(cherry picked from commit e87ada48a9)
This commit is contained in:
parent
3473a128d1
commit
4b1144ced1
2 changed files with 1 additions and 2 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
|
||||
|
|
|
|||
|
|
@ -158,4 +158,3 @@ def _adjust_resource_limits():
|
|||
except (ValueError, OSError) as err:
|
||||
print(f"Unable to raise RLIMIT_NOFILE from {fd_limit} to "
|
||||
f"{new_fd_limit}: {err}.")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue