Staging: this is not the live site, pydocs.org.
Networking and Interprocess Communication
Returns a /dev/poll polling object; see section /dev/poll polling objects below for the methods supported by devpoll objects. Changed in 3.4 3.4: The new file descriptor is now non-inheritable.Members of devpoll c close Close the file descriptor of the polling object. closed True if the polling object is closed. f fileno Return the file descriptor number of the polling object. m modify This method does an unregister() followed by a register(). p poll Polls the set of registered file descriptors, and returns a possibly empty list containing (fd, event) 2-tuples for the descriptors that have events or errors to report. r register Register a file descriptor with the polling object. u unregister Remove a file descriptor being tracked by a polling object.
Python docs © Python Software Foundation · Examples CC0 ·
Source on GitHub · Not affiliated with the PSF