diff options
author | Daniel Hahler <git@thequod.de> | 2018-06-15 20:51:46 +0200 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2018-09-05 16:45:55 +0100 |
commit | fd6432977da8a6cf747c0c80d07635673137e386 (patch) | |
tree | 24ced9420abed09c0ced4b94f14f60b182878284 | |
parent | 48d292c14c2960c01d5a0c1bc14b968cf18d6e13 (diff) | |
download | psycopg2-fd6432977da8a6cf747c0c80d07635673137e386.tar.gz |
Improve doc for extras.wait_select
-rw-r--r-- | lib/extras.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/extras.py b/lib/extras.py index 996b93d..4bb3a48 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 |