Server IP : 172.24.0.40 / Your IP : 216.73.216.10 Web Server : Apache System : Linux dbweb26.ust.edu.ph 4.18.0-513.5.1.el8_9.x86_64 #1 SMP Fri Sep 29 05:21:10 EDT 2023 x86_64 User : apache ( 48) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib64/python3.6/lib2to3/fixes/__pycache__/ |
Upload File : |
3 \� � @ sN d Z ddlZddlmZ ddlmZmZmZmZ dd� Z G dd� dej �ZdS ) a� Fixer for operator functions. operator.isCallable(obj) -> hasattr(obj, '__call__') operator.sequenceIncludes(obj) -> operator.contains(obj) operator.isSequenceType(obj) -> isinstance(obj, collections.Sequence) operator.isMappingType(obj) -> isinstance(obj, collections.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� �2/usr/lib64/python3.6/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"