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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7f94f392a041dd61e845fc11484803a15cde88c1;p=thirdparty%2FPython%2Fcpython.git 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 829b2a127247..eb63710c3c0f 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.