From 7f94f392a041dd61e845fc11484803a15cde88c1 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Sun, 18 Jul 2010 16:13:27 +0000 Subject: [PATCH] There is no method named "register(fd, eventmask)"; fix markup to just indicate this is code. --- Doc/library/select.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/select.rst b/Doc/library/select.rst index 829b2a12724..eb63710c3c0 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.