ok

Mini Shell

Direktori : /proc/thread-self/root/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/
Upload File :
Current File : //proc/thread-self/root/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/wait.pyc

�
��abc@sJddlmZmZmZmZdd�Zdd�Zdd�ZdS(i(t
HAS_SELECTtDefaultSelectort
EVENT_READtEVENT_WRITEcCs�tstd��nt|t�sNt|d�r?|g}qNt|�}nt��]}x|D]}|j||�qaWg|j|�D]!}|d|@r�|dj^q�SWdQXdS(s� Waits for IO events to be available from a list of sockets
    or optionally a single socket if passed in. Returns a list of
    sockets that can be interacted with immediately. s!Platform does not have a selectortfilenoiiN(	Rt
ValueErrort
isinstancetlistthasattrRtregistertselecttfileobj(tsocksteventsttimeouttselectortsocktkey((sA/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/wait.pyt_wait_for_io_events	s
cCst|t|�S(s� Waits for reading to be available from a list of sockets
    or optionally a single socket if passed in. Returns a list of
    sockets that can be read from immediately. (RR(RR((sA/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/wait.pyt
wait_for_readscCst|t|�S(s� Waits for writing to be available from a list of sockets
    or optionally a single socket if passed in. Returns a list of
    sockets that can be written to immediately. (RR(RR((sA/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/wait.pytwait_for_write$sN(	t	selectorsRRRRtNoneRRR(((sA/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/wait.pyt<module>s"

Zerion Mini Shell 1.0