Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(86619)

Unified Diff: Doc/library/select.rst

Issue 18794: select.devpoll objects have no close() method
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Lib/test/test_devpoll.py » ('j') | Lib/test/test_devpoll.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Doc/library/select.rst Wed Aug 21 13:26:34 2013 +0200
+++ b/Doc/library/select.rst Wed Aug 21 20:19:00 2013 +0200
@@ -147,6 +147,27 @@ descriptors), ``/dev/poll`` is O(active
object.
+.. method:: devpoll.close()
+
+ Close the file descriptor of the polling object.
+
+ .. versionadded:: 3.4
+
+
+.. attribute:: devpoll.closed
+
+ ``True`` if the polling object is closed.
+
+ .. versionadded:: 3.4
+
+
+.. method:: devpoll.fileno()
+
+ Return the file descriptor number of the polling object.
+
+ .. versionadded:: 3.4
+
+
.. method:: devpoll.register(fd[, eventmask])
Register a file descriptor with the polling object. Future calls to the
@@ -244,6 +265,11 @@ Edge and Level Trigger Polling (epoll) O
Close the control file descriptor of the epoll object.
+.. attribute:: epoll.closed
+
+ ``True`` if the epoll object is closed.
+
+
.. method:: epoll.fileno()
Return the file descriptor number of the control fd.
@@ -363,6 +389,11 @@ Kqueue Objects
Close the control file descriptor of the kqueue object.
+.. attribute:: kqueue.closed
+
+ ``True`` if the kqueue object is closed.
+
+
.. method:: kqueue.fileno()
Return the file descriptor number of the control fd.
« no previous file with comments | « no previous file | Lib/test/test_devpoll.py » ('j') | Lib/test/test_devpoll.py » ('J')

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+