관리-도구
편집 파일: brain_qt.cpython-311.pyc
� �܋f� � �V � d Z ddlmZmZ ddlmZ ddlmZ ddlm Z ddej ded efd �Z dej d dfd�Zdej d dfd �Zd� Z e e � � de� � e � � � ej ee � � e � � � ej ed� � � dS )z#Astroid hooks for the PyQT library.� )�nodes�parse)�register_module_extender)�AstroidBuilder)�AstroidManager� pyqtSignal�node�signal_name�returnc � � | j � dg � � }| � � � � d� � d dv rt d� |D � � � � S |r" |d j |k S # t $ r Y nw xY wdS )zDetect a Signal node.� __class__�.r > �PySide2�PySide6c 3 �F K � | ]}|� � � d k V � �dS )�SignalN��qname)�.0�clss �g/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/astroid/brain/brain_qt.py� <genexpr>z%_looks_like_signal.<locals>.<genexpr> s/ � � � �>�>�s�3�9�9�;�;�(�*�>�>�>�>�>�>� F)�instance_attrs�getr � partition�any�name�AttributeError)r r �klassess r �_looks_like_signalr! s� � � �!�%�%�k�2�6�6�G��z�z�|�|���c�"�"�1�%�)?�?�?��>�>�g�>�>�>�>�>�>�� � ��1�:�?�k�1�1��� � � ��D� ���� �5s �'A8 �8 B�BNc � � t d� � }|d }|d g| j d<