Skip to content

Commit 4b1144c

Browse files
authoredJun 26, 2022
Run Tools/scripts/reindent.py (#94225) (#94291)
Reindent files which were not properly formatted (PEP 8: 4 spaces). Remove also some trailing spaces. (cherry picked from commit e87ada4)
1 parent 3473a12 commit 4b1144c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
 

‎Lib/http/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ def connect(self):
942942
(self.host,self.port), self.timeout, self.source_address)
943943
# Might fail in OSs that don't implement TCP_NODELAY
944944
try:
945-
self.sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
945+
self.sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
946946
except OSError as e:
947947
if e.errno != errno.ENOPROTOOPT:
948948
raise

‎Lib/test/libregrtest/setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,3 @@ def _adjust_resource_limits():
158158
except (ValueError, OSError) as err:
159159
print(f"Unable to raise RLIMIT_NOFILE from {fd_limit} to "
160160
f"{new_fd_limit}: {err}.")
161-

0 commit comments

Comments
 (0)