관리-도구
편집 파일: deprecation_actions.cpython-311.pyc
� �܋f� � � � d Z ddlmZ ddlZddlZddlmZ ddlmZ G d� dej � � Z G d� d ej � � ZdS ) zDeprecated option actions.� )�annotationsN)�Sequence)�Anyc �D � � e Zd ZdZ d d!� fd� Z d"d#d�Z� xZS )$�_OldNamesActionz3Store action that also sets the value to old names.NF� �option_strings� Sequence[str]�dest�str�nargs�None�const�default�type�choices�required�bool�help�metavar� old_names�list[str] | None�returnc �r �� |sJ �|| _ t � � � ||d|||||| | � � d S �N� )r �super�__init__) �selfr r r r r r r r r r r � __class__s ��r/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pylint/config/deprecation_actions.pyr z_OldNamesAction.__init__ �[ �� � ���y�"��� ������� �������� � � � � � �parser�argparse.ArgumentParser� namespace�argparse.Namespace�values�str | Sequence[Any] | None� option_string� str | Nonec � � t |t � � sJ �t || j |d � � | j D ]}t |||d � � �d S )Nr )� isinstance�list�setattrr r )r r$ r&