From eba06b27f1883416c59b6d84107dceb54a492658 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sun, 26 Jun 2022 10:34:06 +0200 Subject: [PATCH] Run Tools/scripts/reindent.py (#94225) Reindent files which were not properly formatted (PEP 8: 4 spaces). Remove also some trailing spaces. (cherry picked from commit e87ada48a9e5d9d03f9759138869216df0d7383a) --- Lib/http/client.py | 2 +- Lib/test/libregrtest/setup.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Lib/http/client.py b/Lib/http/client.py index a6ab135b2c3879..28527fa8786eed 100644 --- a/Lib/http/client.py +++ b/Lib/http/client.py @@ -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 diff --git a/Lib/test/libregrtest/setup.py b/Lib/test/libregrtest/setup.py index 0bfd644bb3179d..964c25e39700f4 100644 --- a/Lib/test/libregrtest/setup.py +++ b/Lib/test/libregrtest/setup.py @@ -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}.") - pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy