Current Path : /opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/ |
Current File : //opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/fix_nonzero.cpython-312.opt-2.pyc |
� �Q�fO � �H � d dl mZ d dlmZ G d� dej � Zy)� )� fixer_base)�Namec � � e Zd ZdZdZd� Zy)� FixNonzeroTz� classdef< 'class' any+ ':' suite< any* funcdef< 'def' name='__nonzero__' parameters< '(' NAME ')' > any+ > any* > > c �^ � |d }t d|j �� }|j |� y )N�name�__bool__)�prefix)r r �replace)�self�node�resultsr �news �@/opt/alt/python312/lib64/python3.12/lib2to3/fixes/fix_nonzero.py� transformzFixNonzero.transform s'