| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/jedi/inference/value/__pycache__/ |
Upload File : |
�
p�{c� � �6 � d Z ddlmZmZ G d� de� � ZdS )z{
Decorators are not really values, however we need some wrappers to improve
docstrings and other things around decorators.
� )�ValueWrapper�ValueSetc �0 � � e Zd Z� fd�Zd� Zd� Zd� Z� xZS )� Decorateec �X �� t � � � |� � || _ d S �N)�super�__init__�_original_value)�self�
wrapped_value�original_value� __class__s ��@/usr/lib/python3/dist-packages/jedi/inference/value/decorator.pyr
zDecoratee.__init__
s) �� �
������'�'�'�-����� c �4 � | j � � � S r )r � py__doc__)r s r r zDecoratee.py__doc__ s � ��#�-�-�/�/�/r c �l � � t � fd�� j � ||� � D � � � � S )Nc 3 �B �K � | ]}t |�j � � V � �d S r )r r )�.0�vr s �r � <genexpr>z&Decoratee.py__get__.<locals>.<genexpr> sD �� � � �
�
��
�a��-�.�.�
�
�
�
�
�
r )r �_wrapped_value� py__get__)r �instance�class_values ` r r zDecoratee.py__get__ sN �� ��
�
�
�
��(�2�2�8�[�I�I�
�
�
�
�
�
r c � � | j � � � }|r|S | j � d� � s| j � � � S g S )N�__get__)r �get_signatures�py__getattribute__r )r �
signaturess r r zDecoratee.get_signatures sY � ��(�7�7�9�9�
�� ��� �"�5�5�i�@�@� 9��'�6�6�8�8�8�� r )�__name__�
__module__�__qualname__r
r r r �
__classcell__)r s @r r r se �� � � � � �.� .� .� .� .�0� 0� 0�
�
�
�� � � � � � r r N)�__doc__�jedi.inference.base_valuer r r � r r �<module>r) s] ��� �
=� <� <� <� <� <� <� <�� � � � �� � � � � r