diff -r 3ae2cd85a908 Doc/library/select.rst --- a/Doc/library/select.rst Sun Mar 09 11:18:16 2014 +0100 +++ b/Doc/library/select.rst Sun Mar 30 16:16:55 2014 +0530 @@ -377,9 +377,13 @@ 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 + + :exc:`IOError` exception. Instead the OSError exception is used now. + .. method:: poll.unregister(fd)