ok
Direktori : /opt/alt/python35/lib64/python3.5/lib2to3/fixes/__pycache__/ |
Current File : //opt/alt/python35/lib64/python3.5/lib2to3/fixes/__pycache__/fix_operator.cpython-35.pyc |
K�Ma� � @ sm d Z d d l Z d d l m Z d d l m Z m Z m Z m Z d d � Z Gd d � d e j � Z d S) 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 � f d d � } | S)Nc s � | _ | S)N)� invocation)�f)�s� �?/opt/alt/python35/lib64/python3.5/lib2to3/fixes/fix_operator.py�dec s zinvocation.<locals>.decr )r r r )r r r s r c @ s e Z d Z d Z d Z d Z d Z d e d e d e � Z d d � Z e d � d d � � Z e d � d d � � Z e d � d d � � Z e d � d d � � Z e d � d d � � Z e d � d d � � Z e d � d d � � Z d d � Z d! d"