| Server IP : 68.178.164.50 / Your IP : 216.73.216.154 Web Server : Apache System : Linux 50.164.178.68.host.secureserver.net 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64 User : rathinambschool ( 1053) PHP Version : 8.2.30 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.11/lib2to3/fixes/__pycache__/ |
Upload File : |
�
!A?hb
� �` � d dl Zd dlmZ d dlmZmZmZmZ d� Z G d� dej
� � ZdS )� N)�
fixer_base)�Call�Name�String�touch_importc � � � � fd�}|S )Nc � �� �| _ | S �N)�
invocation)�f�ss ��3/usr/lib64/python3.11/lib2to3/fixes/fix_operator.py�deczinvocation.<locals>.dec s �� ������ � )r
r s ` r r r s# �� �� � � � � �Jr c �n � e Zd ZdZdZdZdZd eee�� � z Zd� Z e
d� � d � � � Z e
d
� � d� � � Z e
d� � d
� � � Z
e
d� � d� � � Z e
d� � d� � � Z e
d� � d� � � Z e
d� � d� � � Zd� Zd� Zd� ZdS )�FixOperatorT�prez�
method=('isCallable'|'sequenceIncludes'
|'isSequenceType'|'isMappingType'|'isNumberType'
|'repeat'|'irepeat')
z'(' obj=any ')'z�
power< module='operator'
trailer< '.' %(methods)s > trailer< %(obj)s > >
|
power< %(methods)s trailer< %(obj)s > >
)�methods�objc �N � | � ||� � }|� |||� � S d S r
)�
_check_method)�self�node�results�methods r � transformzFixOperator.transform+ s7 � ��#�#�D�'�2�2�����6�$��(�(�(� �r zoperator.contains(%s)c �0 � | � ||d� � S )N�contains��_handle_rename�r r r s r �_sequenceIncludeszFixOperator._sequenceIncludes0 s � ��"�"�4��*�=�=�=r zcallable(%s)c � � |d }t t d� � |� � � g|j �� � S )Nr �callable��prefix)r r �cloner'