관리-도구
편집 파일: fix_nonzero.cpython-37.opt-2.pyc
B YI~dO � @ s. d dl mZ d dlmZ G dd� dej�ZdS )� )� fixer_base)�Namec @ s e Zd ZdZdZdd� ZdS )� FixNonzeroTz� classdef< 'class' any+ ':' suite< any* funcdef< 'def' name='__nonzero__' parameters< '(' NAME ')' > any+ > any* > > c C s$ |d }t d|jd�}|�|� d S )N�name�__bool__)�prefix)r r �replace)�selfZnode�resultsr �new� r �>/opt/alt/python37/lib64/python3.7/lib2to3/fixes/fix_nonzero.py� transform s zFixNonzero.transformN)�__name__� __module__�__qualname__Z BM_compatibleZPATTERNr r r r r r s r N)� r Z fixer_utilr ZBaseFixr r r r r �<module> s