Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.11/lib2to3/fixes/__pycache__/ |
Upload File : |
� �=OgO � �H � d Z ddlmZ ddlmZ G d� dej � � ZdS )z*Fixer for __nonzero__ -> __bool__ methods.� )� 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 �2/usr/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)�__doc__� r � fixer_utilr �BaseFixr r r r �<module>r sh �� 0� 0� � � � � � � � � � � � � � � � � ��#� � � � � r