Your IP : 3.133.126.241
�
c��fO � �F � d dl mZ d dlmZ G d� dej � � ZdS )� )�
fixer_base)�Namec � � e Zd ZdZdZd� ZdS )�
FixNonzeroTz�
classdef< 'class' any+ ':'
suite< any*
funcdef< 'def' name='__nonzero__'
parameters< '(' NAME ')' > any+ >
any* > >
c �l � |d }t d|j �� � }|� |� � d S )N�name�__bool__)�prefix)r r
�replace)�self�node�resultsr �news �@/opt/alt/python311/lib64/python3.11/lib2to3/fixes/fix_nonzero.py� transformzFixNonzero.transform s7 � ��v����:�d�k�2�2�2�����S������ N)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNr � r r r r s/ � � � � � ��M��G�� � � � r r N)� r �
fixer_utilr �BaseFixr r r r �<module>r se �� 0� � � � � � � � � � � � �
�
�
�
�
��#�
�
�
�
�
r