Kaydet (Commit) 050f9ea4 authored tarafından Andrew Svetlov's avatar Andrew Svetlov

Fix the doc: add deprecation warning in select module.

üst 04d17d30
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment