← Back
Editing: module.cpython-311.pyc
� p�{c� � � � d dl Z d dlmZ d dlmZ d dlmZ d dlmZm Z d dl mZmZm Z mZ d dlmZ d dlmZ d d lmZ d d lmZ d dlmZ d dlmZ d d lmZ G d� de� � Z G d� d� � Z G d� de� � Z G d� dee� � ZdS )� N)�Path)�Optional)�inference_state_method_cache)�AbstractNameDefinition� ModuleName)�GlobalNameFilter�ParserTreeFilter� DictFilter�MergedFilter)�compiled)� TreeValue)� SubModuleName)�values_from_qualified_names)�create_simple_object)�ValueSet�� ModuleContextc �$ � e Zd ZdZdZdd�Zd� ZdS )�_ModuleAttributeNamezA For module attributes like __file__, __str__ and so on. �instanceNc �0 � || _ || _ || _ d S �N)�parent_context�string_name� _string_value)�self� parent_moduler �string_values �=/usr/lib/python3/dist-packages/jedi/inference/value/module.py�__init__z_ModuleAttributeName.__init__ s � �+���&���)����� c � � | j �/| j }t t | j j |� � g� � S t j | j j � � S r )r r r r �inference_stater �get_string_value_set)r �ss r �inferz_ModuleAttributeName.infer sV � ���)��"�A��$�T�%8�%H�!�L�L�� � � � �,�T�-@�-P�Q�Q�Qr! r )�__name__� __module__�__qualname__�__doc__�api_typer r&