Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/jedi/inference/__pycache__/base_value.cpython-39.pyc
Ðазад
a j�h+G � @ s2 d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl m Z ddlmZ ddl mZ dd lmZ dd lmZ ddlmZ e� ZG dd � d e�ZG dd� d�ZG dd� de�Zd&dd�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� d�Z d d!� Z!G d"d#� d#�Z"e"g �Z#d$d%� Z$dS )'a4 Values are the "values" that Python would return. However Values are at the same time also the "values" that a user is currently sitting in. A ValueSet is typically used to specify the return of a function or any other static analysis operation. In jedi there are always multiple returns and not just one. � )�reduce)�add)�zip_longest)�Name)�debug)�clean_scope_docstring��SimpleGetItemNotFound)� safe_property)�%inference_state_as_method_param_cache)�memoize_methodc @ s e Zd ZdS )�HasNoContextN)�__name__� __module__�__qualname__� r r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/jedi/inference/base_value.pyr s r c @ s� e Zd Zdd� Zdd� Zdd� Zdd� Zd d � Zd"d d�Zdd� Z d#dd�Z d$dd�Zdd� Zdd� Z d%dd�Zdd� Zdd� Zed d!� �ZdS )&�HelperValueMixinc C s0 | }|j d u r|�� S |j d u r$|S |j }qd S �N)�parent_context� as_context)�self�valuer r r �get_root_context s z!HelperValueMixin.get_root_contextc C s | j j| |d�S )N�� arguments��inference_state�execute�r r r r r r ( s zHelperValueMixin.executec G s, ddl m} |dd� |D ��}| j�| |�S )Nr )�ValuesArgumentsc S s g | ]}t |g��qS r ��ValueSet��.0r r r r � <listcomp>- � z8HelperValueMixin.execute_with_values.<locals>.<listcomp>)Zjedi.inference.argumentsr r r )r Z value_listr r r r r �execute_with_values+ s z$HelperValueMixin.execute_with_valuesc C s | � � S r �r'