Skip to content

Commit

Permalink
Run Tools/scripts/reindent.py (#94225) (#94291)
Browse files Browse the repository at this point in the history
Reindent files which were not properly formatted (PEP 8: 4 spaces).

Remove also some trailing spaces.

(cherry picked from commit e87ada4)
  • Loading branch information
vstinner committed Jun 26, 2022
1 parent 3473a12 commit 4b1144c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Lib/http/client.py
Expand Up @@ -942,7 +942,7 @@ def connect(self):
(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
Expand Down
1 change: 0 additions & 1 deletion Lib/test/libregrtest/setup.py
Expand Up @@ -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}.")

0 comments on commit 4b1144c

Please sign in to comment.