⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.62
Server IP:
50.6.168.112
Server:
Linux server-617809.webnetzimbabwe.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.4.10
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib64
/
python3.9
/
lib2to3
/
fixes
/
__pycache__
/
View File Name :
fix_operator.cpython-39.opt-1.pyc
a DOgb @ sN d Z ddlZddlmZ ddlmZmZmZm Z dd Z G dd dejZdS ) 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)CallNameStringtouch_importc s fdd}|S )Nc s | _ | S N) invocation)fs 2/usr/lib64/python3.9/lib2to3/fixes/fix_operator.pydec s zinvocation.
.decr )r r r r r r s r c @ s e Zd ZdZdZdZdZdeeed Zdd Z e d d d Ze dd d Ze ddd Z e ddd Ze ddd Ze ddd Ze ddd Zdd Zd d! Zd"d# Zd$S )%FixOperatorTprez 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 > > )methodsobjc C s" | ||}|d ur|||S d S r ) _check_method)selfnoderesultsmethodr r r transform+ s zFixOperator.transformzoperator.contains(%s)c C s | ||dS )Ncontains_handle_renamer r r r r r _sequenceIncludes0 s zFixOperator._sequenceIncludeszcallable(%s)c C s" |d }t td| g|jdS )Nr callableprefix)r r cloner )r r r r r r r _isCallable4 s zFixOperator._isCallablezoperator.mul(%s)c C s | ||dS )Nmulr r r r r _repeat9 s zFixOperator._repeatzoperator.imul(%s)c C s | ||dS )Nimulr r r r r _irepeat= s zFixOperator._irepeatz(isinstance(%s, collections.abc.Sequence)c C s | ||ddS )Ncollections.abcSequence_handle_type2abcr r r r _isSequenceTypeA s zFixOperator._isSequenceTypez'isinstance(%s, collections.abc.Mapping)c C s | ||ddS )Nr' Mappingr) r r r r _isMappingTypeE s zFixOperator._isMappingTypezisinstance(%s, numbers.Number)c C s | ||ddS )NZnumbersNumberr) r r r r _isNumberTypeI s zFixOperator._isNumberTypec C s |d d }||_ | d S )Nr r )valuechanged)r r r namer r r r r M s zFixOperator._handle_renamec C sF t d || |d }| tdd||g g}ttd||jdS )Nr z, . isinstancer )r r! r joinr r r )r r r moduleabcr argsr r r r* R s zFixOperator._handle_type2abcc C s^ t | d|d d j }t|tjjrZd|v r2|S t|d f}|j| }| |d| d S )N_r r r6 r zYou should use '%s' here.) getattrr0 r4 collectionsr7 Callablestrr warning)r r r r subZinvocation_strr r r r X s zFixOperator._check_methodN)__name__ __module____qualname__Z BM_compatibleorderr r dictZPATTERNr r r r" r$ r&