Spell check

This commit is contained in:
Nuno Campos
2025-01-21 15:14:00 -08:00
parent c48d495031
commit 0177565c6b
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ def request(self, method, url, body=None, headers=None):
The result of calling the parent request method.
"""
# Update the inner socket's timeout value to send the request.
# This only triggers if the connection is re-used.
# This only triggers if the connection is reused.
if getattr(self, "sock", None) is not None:
self.sock.settimeout(self.timeout)
@@ -90,4 +90,4 @@ def patch_urllib3():
return request(self, *args, **kwargs)
connection.HTTPConnection.request = new_request
_PATCHED = True
_PATCHED = True
+1 -1
View File
@@ -1084,6 +1084,6 @@ class AsyncPregelLoop(PregelLoop, AsyncContextManager):
return await exit_task
except asyncio.CancelledError as e:
# Bubble up the exit task upon cancellation to permit the API
# consumer to await it before e.g., re-using the DB connection.
# consumer to await it before e.g., reusing the DB connection.
e.args = (*e.args, exit_task)
raise