diff options
author | Charles-François Natali <cf.natali@gmail.com> | 2013-12-01 12:23:48 (GMT) |
---|---|---|
committer | Charles-François Natali <cf.natali@gmail.com> | 2013-12-01 12:23:48 (GMT) |
commit | 837a6e012fad9ef38f45600ac079376dbf216400 (patch) | |
tree | 4a579852968e3c54e320e0d521a1798bd96357cc /Doc/library/selectors.rst | |
parent | b3330a0abf3edb233fc28a392776cc41efa25853 (diff) | |
download | cpython-837a6e012fad9ef38f45600ac079376dbf216400.zip cpython-837a6e012fad9ef38f45600ac079376dbf216400.tar.gz cpython-837a6e012fad9ef38f45600ac079376dbf216400.tar.bz2 |
Issue #19849: selectors: Document the possibility of early select() wakeup upon
EINTR.
Diffstat (limited to 'Doc/library/selectors.rst')
-rw-r--r-- | Doc/library/selectors.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/selectors.rst b/Doc/library/selectors.rst index 44835fa..b0b002f 100644 --- a/Doc/library/selectors.rst +++ b/Doc/library/selectors.rst @@ -150,6 +150,11 @@ below: object. *events* is a bitmask of events ready on this file object. + .. note:: + This method can return before any file object becomes ready or the + timeout has elapsed if the current process receives a signal: in this + case, an empty list will be returned. + .. method:: close() Close the selector. |