summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Doc/library/select.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/library/select.rst b/Doc/library/select.rst
index 4fae87e5ed..4bf1a9f3c9 100644
--- a/Doc/library/select.rst
+++ b/Doc/library/select.rst
@@ -377,9 +377,13 @@ linearly scanned again. :c:func:`select` is O(highest file descriptor), while
Modifies an already registered fd. This has the same effect as
``register(fd, eventmask)``. Attempting to modify a file descriptor
- that was never registered causes an :exc:`IOError` exception with errno
+ that was never registered causes an :exc:`OSError` exception with errno
:const:`ENOENT` to be raised.
+ .. deprecated:: 3.3
+
+ Instead of :exc:`IOError` the :exc:`OSError` exception is used now.
+
.. method:: poll.unregister(fd)