관리-도구
편집 파일: wait.cpython-36.opt-1.pyc
3 �Pf� � @ s: d dl mZmZmZmZ d dd�Zd dd�Zddd�ZdS )� )� HAS_SELECT�DefaultSelector� EVENT_READ�EVENT_WRITENc st t std��t| t�s0t| d�r(| g} nt| �} t� �4}x| D ]}|j|� � q>W � fdd�|j|�D �S Q R X dS )z� 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. z!Platform does not have a selector�filenoc s"