From: Daniele Varrazzo Date: Wed, 2 Mar 2022 23:48:15 +0000 (+0000) Subject: doc: fix typo in comment X-Git-Tag: 3.1~174 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f6ee2313605c352c349af50f1d6ffeef21adb6f;p=thirdparty%2Fpsycopg.git doc: fix typo in comment --- diff --git a/psycopg/psycopg/connection.py b/psycopg/psycopg/connection.py index 37a606eb7..95ba5d76c 100644 --- a/psycopg/psycopg/connection.py +++ b/psycopg/psycopg/connection.py @@ -861,7 +861,7 @@ class Connection(BaseConnection[Row]): return waiting.wait(gen, self.pgconn.socket, timeout=timeout) except KeyboardInterrupt: # On Ctrl-C, try to cancel the query in the server, otherwise - # otherwise the connection will be stuck in ACTIVE state + # the connection will remain stuck in ACTIVE state. c = self.pgconn.get_cancel() c.cancel() try: