]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Minimal update of select docs for PEP 3151.
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 12 Oct 2011 14:23:02 +0000 (16:23 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 12 Oct 2011 14:23:02 +0000 (16:23 +0200)
Doc/library/select.rst

index f1fd126d94c336dc1360a986a391fcaa807f1a96..a4bc6fc1e9303e18292ea043c10c927580c07185 100644 (file)
@@ -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)