From 0f6ee2313605c352c349af50f1d6ffeef21adb6f Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Wed, 2 Mar 2022 23:48:15 +0000 Subject: [PATCH] doc: fix typo in comment --- psycopg/psycopg/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.47.2