From 9b7fcf8c2e3a64735c72fe319141a0e76458dfbb Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Wed, 12 Oct 2011 16:23:02 +0200 Subject: Minimal update of select docs for PEP 3151. --- Doc/library/select.rst | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Doc/library/select.rst b/Doc/library/select.rst index f1fd126..a4bc6fc 100644 --- a/Doc/library/select.rst +++ b/Doc/library/select.rst @@ -18,9 +18,10 @@ The module defines the following: .. exception:: error - The exception raised when an error occurs. The accompanying value is a pair - containing the numeric error code from :c:data:`errno` and the corresponding - string, as would be printed by the C function :c:func:`perror`. + A deprecated alias of :exc:`OSError`. + + .. versionchanged:: 3.3 + Following :pep:`3151`, this class was made an alias of :exc:`OSError`. .. function:: epoll(sizehint=-1) @@ -165,11 +166,6 @@ Edge and Level Trigger Polling (epoll) Objects Register a fd descriptor with the epoll object. - .. note:: - - Registering a file descriptor that's already registered raises an - IOError -- contrary to :ref:`poll-objects`'s register. - .. method:: epoll.modify(fd, eventmask) -- cgit v0.12