ok
Direktori : /opt/cloudlinux/venv/lib/python3.11/site-packages/urllib3/util/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/urllib3/util/__pycache__/wait.cpython-311.pyc |
� �܋fG � � � d dl mZ d dlZd dlZd dlmZ ddgZ ddd�Z ddd�Zdd�Z ddd�a ddd�Zddd�ZdS )� )�annotationsN)�partial� wait_for_read�wait_for_writeF�sock� socket.socket�read�bool�write�timeout�float | None�returnc � � |s|st d� � �g }g }|r|� | � � |r|� | � � t t j |||� � } ||� � \ }}} t |p|p| � � S )N�2must specify at least one of read=True, write=True)�RuntimeError�appendr �selectr ) r r r r �rcheck�wcheck�fn�rready�wready�xreadys �H/opt/cloudlinux/venv/lib64/python3.11/site-packages/urllib3/util/wait.py�select_wait_for_socketr ! s� � � � Q�� Q��O�P�P�P� �F� �F�� �� � �d����� �� � �d���� ������ 7� 7�B��R��[�[��F�F�F���*�&�*�F�+�+�+� c � �� |s|st d� � �d}|r|t j z }|r|t j z }t j � � ��� | |� � d�fd�}t ||� � � � S ) Nr r �tr r �list[tuple[int, int]]c �<