관리-도구
편집 파일: fix_has_key.cpython-312.opt-2.pyc
� �Q�f| � �X � d dl mZ d dl mZ d dlmZmZ G d� dej � Zy)� )�pytree)� fixer_base)�Name�parenthesizec � � e Zd ZdZdZd� Zy)� FixHasKeyTa� anchor=power< before=any+ trailer< '.' 'has_key' > trailer< '(' ( not(arglist | argument<any '=' any>) arg=any | arglist<(not argument<any '=' any>) arg=any ','> ) ')' > after=any* > | negation=not_test< 'not' anchor=power< before=any+ trailer< '.' 'has_key' > trailer< '(' ( not(arglist | argument<any '=' any>) arg=any | arglist<(not argument<any '=' any>) arg=any ','> ) ')' > > > c �` � | j }|j j |j k( r&| j j |j � ry |j d� }|d }|j }|d D �cg c] }|j � �� }}|d j � } |j d� } | r| D �cg c] }|j � �� } }| j |j |j |j |j |j |j |j fv rt | � } t! |� dk( r|d }n t# j$ |j&