]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
docs: fix grammar, to allow to connect -> connecting
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 27 Mar 2022 16:32:03 +0000 (18:32 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 27 Mar 2022 16:34:43 +0000 (18:34 +0200)
Fixed by @xenups. Proposed together with a bunch of unrelated changes
probably suggested by some useless AI tool; singling this out.

Close #250.

psycopg/psycopg/_dns.py

index 93448f24a86a6297ffe7b5a35b5c764dce17863f..2ac752bb081e20b0a5faa8d4fe69cabe03c9aa78 100644 (file)
@@ -47,7 +47,7 @@ async def resolve_hostaddr_async(params: Dict[str, Any]) -> Dict[str, Any]:
     addresses dynamically.
 
     The function may change the input ``host``, ``hostname``, ``port`` to allow
-    to connect without further DNS lookups, eventually removing hosts that are
+    connecting without further DNS lookups, eventually removing hosts that are
     not resolved, keeping the lists of hosts and ports consistent.
 
     Raise `~psycopg.OperationalError` if connection is not possible (e.g. no