There is no method named "register(fd, eventmask)"; fix markup to just indicate this is code.
This commit is contained in:
parent
c95111995b
commit
7f94f392a0
|
@ -233,7 +233,7 @@ linearly scanned again. :cfunc:`select` is O(highest file descriptor), while
|
|||
.. method:: poll.modify(fd, eventmask)
|
||||
|
||||
Modifies an already registered fd. This has the same effect as
|
||||
:meth:`register(fd, eventmask)`. Attempting to modify a file descriptor
|
||||
``register(fd, eventmask)``. Attempting to modify a file descriptor
|
||||
that was never registered causes an :exc:`IOError` exception with errno
|
||||
:const:`ENOENT` to be raised.
|
||||
|
||||
|
|
Loading…
Reference in New Issue