mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Minimal update of select docs for PEP 3151.
This commit is contained in:
parent
70fa31c936
commit
9b7fcf8c2e
1 changed files with 4 additions and 8 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue