Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/twisted/application/__pycache__/reactors.cpython-39.pyc
Ðазад
a k�h! � @ s� d Z ddlmZmZ ddlmZmZmZ ddlm Z ddl mZmZ ddl mZ G dd� de�ZG d d � d e�Zeee�G dd� d��Zee d �dd�Zee d�dd�ZdS )zT Plugin-based system for enumerating available reactors and installing one of them. � )�Iterable�cast)� Attribute� Interface�implementer)�IReactorCore)�IPlugin� getPlugins)�namedAnyc @ s. e Zd ZdZed�Zed�Zdd�dd�ZdS )�IReactorInstallerzB Definition of a reactor which can probably be installed. zE A brief string giving the user-facing name of this reactor. zK A longer string giving a user-facing description of this reactor. N��returnc C s dS )z' Install this reactor. N� r r r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/twisted/application/reactors.py�install# s zIReactorInstaller.install)�__name__� __module__�__qualname__�__doc__r � shortName�descriptionr r r r r r s ��r c @ s e Zd ZdZdS )� NoSuchReactorzT Raised when an attempt is made to install a reactor which cannot be found. N)r r r r r r r r r , s r c @ s0 e Zd ZdZeeed�dd�Zdd�dd�ZdS ) �Reactorz| @ivar moduleName: The fully-qualified Python name of the module of which the install callable is an attribute. �r � moduleNamer c C s || _ || _|| _d S �Nr )�selfr r r r r r �__init__9 s zReactor.__init__Nr c C s t | j��� d S r )r r r )r r r r r >