Server : Apache System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64 User : nobody ( 99) PHP Version : 8.1.23 Disable Function : NONE Directory : /opt/alt/python38/lib64/python3.8/lib2to3/fixes/__pycache__/ |
U ��,ab � @ sN d Z ddlZddlmZ ddlmZmZmZm Z dd� Z G dd� dej�ZdS ) a� Fixer for operator functions. operator.isCallable(obj) -> callable(obj) operator.sequenceIncludes(obj) -> operator.contains(obj) operator.isSequenceType(obj) -> isinstance(obj, collections.abc.Sequence) operator.isMappingType(obj) -> isinstance(obj, collections.abc.Mapping) operator.isNumberType(obj) -> isinstance(obj, numbers.Number) operator.repeat(obj, n) -> operator.mul(obj, n) operator.irepeat(obj, n) -> operator.imul(obj, n) � N)� fixer_base)�Call�Name�String�touch_importc s � fdd�}|S )Nc s � | _ | S �N)� invocation)�f��s� �?/opt/alt/python38/lib64/python3.8/lib2to3/fixes/fix_operator.py�dec s zinvocation.<locals>.decr )r r r r r r s r c @ s� e Zd ZdZdZdZdZdeeed� Zdd� Z e d �d d� �Ze d�d d� �Ze d�dd� �Z e d�dd� �Ze d�dd� �Ze d�dd� �Ze d�dd� �Zdd� Zd d!� Zd"d#� Zd$S )%�FixOperatorTZprez� 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 C s"