관리-도구
편집 파일: arguments.cpython-311.pyc
� �܋f�2 � �t � d dl mZ d dlmZ d dlmZ d dlmZmZ d dl m Z mZ d dlm Z mZ G d� d� � Zd S ) � )�annotations)�nodes)�Instance)�CallContext�InferenceContext)�InferenceError� NoDefault)�Uninferable�UninferableBasec �b � e Zd ZdZ ddd�Zeddd�� � Zd � Zdd�Zddd �Z ddd�Z d� ZdS )�CallSitea� Class for understanding arguments passed into a call site. It needs a call context, which contains the arguments and the keyword arguments that were passed into a given call site. In order to infer what an argument represents, call :meth:`infer_argument` with the corresponding function node and the argument name. :param callcontext: An instance of :class:`astroid.context.CallContext`, that holds the arguments for the call site. :param argument_context_map: Additional contexts per node, passed in from :attr:`astroid.context.Context.extra_context` :param context: An instance of :class:`astroid.context.Context`. N�callcontextr �context�InferenceContext | Nonec �J � |�i }|| _ |j }|j }t � � | _ | � ||�� � | _ | � ||�� � | _ d� | j D � � | _ d� | j � � � D � � | _ d S )N�r c �<