summaryrefslogtreecommitdiffstats
path: root/Lib/http
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-06-26 08:34:06 (GMT)
committerGitHub <noreply@github.com>2022-06-26 08:34:06 (GMT)
commite87ada48a9e5d9d03f9759138869216df0d7383a (patch)
tree40a551a7af6d0d6e1cd04705e58aca8462721a9e /Lib/http
parentd4792ce916b94d090b6c7bce8b0f973e840c9e4e (diff)
downloadcpython-e87ada48a9e5d9d03f9759138869216df0d7383a.zip
cpython-e87ada48a9e5d9d03f9759138869216df0d7383a.tar.gz
cpython-e87ada48a9e5d9d03f9759138869216df0d7383a.tar.bz2
Run Tools/scripts/reindent.py (#94225)
Reindent files which were not properly formatted (PEP 8: 4 spaces). Remove also some trailing spaces.
Diffstat (limited to 'Lib/http')
-rw-r--r--Lib/http/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/http/client.py b/Lib/http/client.py
index 4bef50e..0720990 100644
--- a/Lib/http/client.py
+++ b/Lib/http/client.py
@@ -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