Kaydet (Commit) 9b7fcf8c authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Minimal update of select docs for PEP 3151.

üst 70fa31c9
...@@ -18,9 +18,10 @@ The module defines the following: ...@@ -18,9 +18,10 @@ The module defines the following:
.. exception:: error .. exception:: error
The exception raised when an error occurs. The accompanying value is a pair A deprecated alias of :exc:`OSError`.
containing the numeric error code from :c:data:`errno` and the corresponding
string, as would be printed by the C function :c:func:`perror`. .. versionchanged:: 3.3
Following :pep:`3151`, this class was made an alias of :exc:`OSError`.
.. function:: epoll(sizehint=-1) .. function:: epoll(sizehint=-1)
...@@ -165,11 +166,6 @@ Edge and Level Trigger Polling (epoll) Objects ...@@ -165,11 +166,6 @@ Edge and Level Trigger Polling (epoll) Objects
Register a fd descriptor with the epoll object. 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) .. method:: epoll.modify(fd, eventmask)
......
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