There is no method named "register(fd, eventmask)"; fix markup to just indicate this is code.

This commit is contained in:
Jean-Paul Calderone 2010-07-18 16:13:27 +00:00
parent c95111995b
commit 7f94f392a0
1 changed files with 1 additions and 1 deletions

View File

@ -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.