Lines Matching refs:fileobj
75 .. attribute:: fileobj
105 .. abstractmethod:: register(fileobj, events, data=None)
109 *fileobj* is the file object to monitor. It may either be an integer
118 .. abstractmethod:: unregister(fileobj)
123 *fileobj* must be a file object previously registered.
126 :exc:`KeyError` if *fileobj* is not registered. It will raise
127 :exc:`ValueError` if *fileobj* is invalid (e.g. it has no ``fileno()``
130 .. method:: modify(fileobj, events, data=None)
134 This is equivalent to :meth:`BaseSelector.unregister(fileobj)` followed
135 by :meth:`BaseSelector.register(fileobj, events, data)`, except that it
178 .. method:: get_key(fileobj)
277 callback(key.fileobj, mask)