From: Daniele Varrazzo Date: Sun, 27 Mar 2022 16:32:03 +0000 (+0200) Subject: docs: fix grammar, to allow to connect -> connecting X-Git-Tag: 3.1~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=debae12e5b673b925e604545fc1c696c532591de;p=thirdparty%2Fpsycopg.git docs: fix grammar, to allow to connect -> connecting Fixed by @xenups. Proposed together with a bunch of unrelated changes probably suggested by some useless AI tool; singling this out. Close #250. --- diff --git a/psycopg/psycopg/_dns.py b/psycopg/psycopg/_dns.py index 93448f24a..2ac752bb0 100644 --- a/psycopg/psycopg/_dns.py +++ b/psycopg/psycopg/_dns.py @@ -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