mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue