diff options
author | Victor Stinner <vstinner@python.org> | 2022-06-26 12:39:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-26 12:39:16 +0200 |
commit | 4b1144ced142be2765f5d14c9632cee2b75748f2 (patch) | |
tree | 4eec00ebb81d1db0e8bb961f6b12070096a0df40 /Lib/http/client.py | |
parent | 3473a128d189cc88927f750f8bc7d4c064d1991f (diff) | |
download | cpython-git-4b1144ced142be2765f5d14c9632cee2b75748f2.tar.gz |
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 e87ada48a9e5d9d03f9759138869216df0d7383a)
Diffstat (limited to 'Lib/http/client.py')
-rw-r--r-- | Lib/http/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/http/client.py b/Lib/http/client.py index a6ab135b2c..28527fa878 100644 --- a/Lib/http/client.py +++ b/Lib/http/client.py @@ -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 |