AlkantarClanX12
Current Path : /proc/thread-self/root/opt/alt/python311/lib64/python3.11/__pycache__/ |
Current File : //proc/thread-self/root/opt/alt/python311/lib64/python3.11/__pycache__/selectors.cpython-311.pyc |
� c��f�L � �� � d Z ddlmZmZ ddlmZ ddlmZ ddlZddl Z ddl Z dZdZd� Z ed g d �� � Zde_ dej _ d ej _ dej _ dej _ G d� de� � Z G d� de�� � Z G d� de� � Z G d� de� � Z G d� de� � Z ee d� � r G d� de� � Z ee d� � r G d� d e� � Z ee d!� � r G d"� d#e� � Z ee d$� � r G d%� d&e� � Zd'� Z ed$� � reZdS ed� � reZdS ed!� � reZdS ed� � reZdS eZdS )(z|Selectors module. This module allows high-level and efficient I/O multiplexing, built upon the `select` module primitives. � )�ABCMeta�abstractmethod)� namedtuple)�MappingN� � c �H � t | t � � r| }na t | � � � � � }n># t t t f$ r$ t d� | � � � � d�w xY w|dk r"t d� |� � � � �|S )z�Return a file descriptor from a file object. Parameters: fileobj -- file object or file descriptor Returns: corresponding file descriptor Raises: ValueError if the object is invalid zInvalid file object: {!r}Nr zInvalid file descriptor: {})� isinstance�int�fileno�AttributeError� TypeError� ValueError�format)�fileobj�fds �0/opt/alt/python311/lib64/python3.11/selectors.py�_fileobj_to_fdr s� � � �'�3��� ?� ��� ?��W�^�^�%�%�&�&�B�B��� �:�6� ?� ?� ?�� $�$*�F�7�O�O�5� 5�:>� ?� ?���� �A�v�v��6�=�=�b�A�A�B�B�B� �Is �!<