From fd6432977da8a6cf747c0c80d07635673137e386 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 15 Jun 2018 20:51:46 +0200 Subject: [PATCH] Improve doc for extras.wait_select --- lib/extras.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/extras.py b/lib/extras.py index 996b93d6..4bb3a48c 100644 --- a/lib/extras.py +++ b/lib/extras.py @@ -755,8 +755,8 @@ def wait_select(conn): The function is an example of a wait callback to be registered with `~psycopg2.extensions.set_wait_callback()`. This function uses - :py:func:`~select.select()` to wait for data available. - + :py:func:`~select.select()` to wait for data to become available, and + therefore is able to handle/receive SIGINT/KeyboardInterrupt. """ import select from psycopg2.extensions import POLL_OK, POLL_READ, POLL_WRITE