Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
3
W @ s\ d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlZddlmZ G dd d e Z
dS )
z
pyudev._os.poll
===============
Operating system interface for pyudev.
.. moduleauthor:: Sebastian Wiesner
)absolute_import)division)print_function)unicode_literalsN)eintr_retry_callc @ sP e Zd ZdZejejdZedd Z e
dd Zdd Zdd
dZ
dd
Zd S )PollzwA poll object.
This object essentially provides a more convenient interface around
:class:`select.poll`.
)rwc C s | |@ dkS )Nr )eventseventr
r
/usr/lib/python3.6/poll.py
_has_event1 s zPoll._has_eventc G sN t tj}x:|D ]2\}}| jj|}|s6tdj||j|| qW | |S )aG Listen for ``events``.
``events`` is a list of ``(fd, event)`` pairs, where ``fd`` is a file
descriptor or file object and ``event`` either ``'r'`` or ``'w'``. If
``r``, listen for whether that is ready to be read. If ``w``, listen
for whether the channel is ready to be written to.
zUnknown event type: {0!r})r selectpoll_EVENT_TO_MASKget
ValueErrorformatregister)clsr notifierfdr maskr
r
r
for_events5 s
zPoll.for_eventsc C s
|| _ dS )zCreate a poll object for the given ``notifier``.
``notifier`` is the :class:`select.poll` object wrapped by the new poll
object.
N) _notifier)selfr r
r
r
__init__G s z
Poll.__init__Nc C s t | jt| jj|S )a{ Poll for events.
``timeout`` is an integer specifying how long to wait for events (in
milliseconds). If omitted, ``None`` or negative, wait until an event
occurs.
Return a list of all events that occurred before ``timeout``, where
each event is a pair ``(fd, event)``. ``fd`` is the integral file
descriptor, and ``event`` a string indicating the event type. If
``'r'``, there is data to read from ``fd``. If ``'w'``, ``fd`` is
writable without blocking now. If ``'h'``, the file descriptor was
hung up (i.e. the remote side of a pipe was closed).
)list
_parse_eventsr r r )r Ztimeoutr
r
r
r P s z Poll.pollc c s x|D ]\}}| j |tjr,tdj|n| j |tjrHtdj|| j |tjr`|dfV | j |tjrx|dfV | j |tjr|dfV qW dS )zParse ``events``.
``events`` is a list of events as returned by
:meth:`select.poll.poll()`.
Yield all parsed events.
zFile descriptor not open: {0!r}zError while polling fd: {0!r}r r hN) r r ZPOLLNVALIOErrorr ZPOLLERRPOLLINPOLLOUTZPOLLHUP)r r r Z
event_maskr
r
r
r c s
zPoll._parse_events)N)__name__
__module____qualname____doc__r r" r# r staticmethodr classmethodr r r r r
r
r
r
r &