Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/cheroot/ssl/__pycache__/builtin.cpython-39.pyc
Ðазад
a p�h=@ � @ s d Z ddlZddlZddlZddlmZ zddlZW n eyJ dZY n0 zddlm Z W n: ey� zddl m Z W n ey� dZ Y n0 Y n0 ddlmZ dd lm Z dd lmZmZ ddlmZ dd � Zdd� Zdd� Zdd� Zdd� ZG dd� de�ZdS )z� A library for integrating Python's builtin :py:mod:`ssl` library with Cheroot. The :py:mod:`ssl` module must be importable for SSL functionality. To use this module, set ``HTTPServer.ssl_adapter`` to an instance of ``BuiltinSSLAdapter``. � N)�suppress)�DEFAULT_BUFFER_SIZE���� )�Adapter� )�errors��StreamReader�StreamWriter)� HTTPServerc s6 t |�dk rtd��t| ��� � t� fdd�|D ��S )zACheck whether SSL exception contains either of messages provided.r zF_assert_ssl_exc_contains() requires at least one message to be passed.c 3 s | ]}|� � � v V qd S )N)�lower)�.0�m�Z err_msg_lower� ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/cheroot/ssl/builtin.py� <genexpr>* � z+_assert_ssl_exc_contains.<locals>.<genexpr>)�len� TypeError�strr �any)�excZmsgsr r r �_assert_ssl_exc_contains"