From: Jean-Paul Calderone Date: Sun, 18 Jul 2010 16:13:27 +0000 (+0000) Subject: There is no method named "register(fd, eventmask)"; fix markup to just indicate this... X-Git-Tag: v3.2a1~171 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f94f392a041dd61e845fc11484803a15cde88c1;p=python There is no method named "register(fd, eventmask)"; fix markup to just indicate this is code. --- diff --git a/Doc/library/select.rst b/Doc/library/select.rst index 829b2a1272..eb63710c3c 100644 --- a/Doc/library/select.rst +++ b/Doc/library/select.rst @@ -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.