Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/astroid/brain/__pycache__/brain_signal.cpython-39.pyc
Ðазад
a k�h\ � @ sv d Z ddlZddlmZ ddlmZ ddlmZ dd� Ze d�d d �Z e d�dd�Ze d�d d�Zedd�dd�Z dS )a Astroid hooks for the signal library. The signal module generates the 'Signals', 'Handlers' and 'Sigmasks' IntEnums dynamically using the IntEnum._convert() classmethod, which modifies the module globals. Astroid is unable to handle this type of code. Without these hooks, the following are erroneously triggered by Pylint: * E1101: Module 'signal' has no 'Signals' member (no-member) * E1101: Module 'signal' has no 'Handlers' member (no-member) * E1101: Module 'signal' has no 'Sigmasks' member (no-member) These enums are defined slightly differently depending on the user's operating system and platform. These platform differences should follow the current Python typeshed stdlib `signal.pyi` stub file, available at: * https://github.com/python/typeshed/blob/master/stdlib/signal.pyi Note that the enum.auto() values defined here for the Signals, Handlers and Sigmasks IntEnums are just dummy integer values, and do not correspond to the actual standard signal numbers - which may vary depending on the system. � N)�register_module_extender)�parse)�AstroidManagerc C s t t� t� t� �S )zDGenerates the AST for 'Signals', 'Handlers' and 'Sigmasks' IntEnums.)r � _signals_enum�_handlers_enum�_sigmasks_enum� r r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/astroid/brain/brain_signal.py�_signals_enums_transform# s r )�returnc C s>