Format: application/x-python-code
1 o
2
3 �hS � @ s� d Z ddlZddlmZ ddlmZ ddlmZ ddlm Z ddl
4 mZ ddlm
5 Z
6 dd lmZ dd
7 lmZ ddlmZmZmZ ddlmZmZmZ dd
8 lmZ ddlmZ ddlmZ ddl m!Z! ddl"m#Z# ddl$m%Z%m&Z& G dd� d�Z'G dd� de�Z(G dd� de(�Z)G dd� de�Z*G dd� dee�Z+G dd� dee�Z,G dd � d ee�Z-G d!d"� d"e�Z.G d#d$� d$e�Z/d%d&d'd(d&d)�Z0d*d+� Z1d,d-� Z2d.d/� Z3d0d1� Z4e3e� d2d3� ��Z5dS )4z$
9 Imitate the parser representation.
10 � N)�partial)� Parameter)�Path)�Optional)�debug)�to_list)�memoize_method)�AbstractFilter)�AbstractNameDefinition�ValueNameMixin�ParamNameInterface)�Value�ValueSet� NO_VALUES)�LazyKnownValue)� _sentinel)�inference_state_function_cache)�reraise_getitem_errors)�BuiltinSignature)�CompiledContext�CompiledModuleContextc @ s* e Zd ZdZd dd�Zdd� Zdd� ZdS )
11 �CheckAttributezARaises :exc:`AttributeError` if the attribute X is not available.Nc C s
12 || _ d S �N)�
13 check_name)�selfr � r �Sc:\Users\shubh\Videos\agent\nova\Lib\site-packages\jedi/inference/compiled/value.py�__init__ �
14 zCheckAttribute.__init__c C s$ || _ | jd u r|jdd � | _| S )N� )�funcr �__name__)r r r r r �__call__ s
15 zCheckAttribute.__call__c C s&