summaryrefslogtreecommitdiff
path: root/Doc/library/select.rst
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-10-12 16:23:02 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2011-10-12 16:23:02 +0200
commit857d7e3f291eae0308ed6da59180fdd03bdd16db (patch)
treee99024785d2ca1e8eabfc6a174174cd4d3ce01f5 /Doc/library/select.rst
parent85d5e8e2ac16479ef135dec3b6f45fe44852cd8f (diff)
downloadcpython-857d7e3f291eae0308ed6da59180fdd03bdd16db.tar.gz
Minimal update of select docs for PEP 3151.
Diffstat (limited to 'Doc/library/select.rst')
-rw-r--r--Doc/library/select.rst12
1 files changed, 4 insertions, 8 deletions
diff --git a/Doc/library/select.rst b/Doc/library/select.rst
index f1fd126d94..a4bc6fc1e9 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)