Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a4dae7e

Browse files
committed
Merge 3.4 (#16716)
2 parents 3fec24e + 050f9ea commit a4dae7e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Doc/library/select.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,9 +377,13 @@ linearly scanned again. :c:func:`select` is O(highest file descriptor), while
377377

378378
Modifies an already registered fd. This has the same effect as
379379
``register(fd, eventmask)``. Attempting to modify a file descriptor
380-
that was never registered causes an :exc:`IOError` exception with errno
380+
that was never registered causes an :exc:`OSError` exception with errno
381381
:const:`ENOENT` to be raised.
382382

383+
.. deprecated:: 3.3
384+
385+
Instead of :exc:`IOError` the :exc:`OSError` exception is used now.
386+
383387

384388
.. method:: poll.unregister(fd)
385389

0 commit comments

Comments
 (0)