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:33 +0100 |
commit | 6af55ee51ca098850ccfc360fd3cde339af984f6 (patch) | |
tree | 4b934322fb27c4e27470f651342fef3d9efb0f3b | |
parent | 03fc3f9a2ae33d46fb117f21fc339f64ef76782b (diff) | |
download | psycopg2-6af55ee51ca098850ccfc360fd3cde339af984f6.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 ff32ab6..024d7f3 100644 --- a/lib/extras.py +++ b/lib/extras.py @@ -759,8 +759,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 |