]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
doc: fix typo in comment
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 2 Mar 2022 23:48:15 +0000 (23:48 +0000)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 2 Mar 2022 23:48:15 +0000 (23:48 +0000)
psycopg/psycopg/connection.py

index 37a606eb7e6463de4dce035ae357ec327a2cf18c..95ba5d76cb5803e2baf6cbb9efbbf31d83141d1e 100644 (file)
@@ -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: