Server IP : 192.158.238.246 / Your IP : 18.221.207.166 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python35/lib64/python3.5/lib2to3/fixes/__pycache__/ |
Upload File : |
��Yf� � @ sO d Z d d l m Z d d l m Z m Z m Z Gd d � d e j � Z d S)a7 Fixer that changes zip(seq0, seq1, ...) into list(zip(seq0, seq1, ...) unless there exists a 'from future_builtins import zip' statement in the top-level namespace. We avoid the transformation if the zip() call is directly contained in iter(<>), list(<>), tuple(<>), sorted(<>), ...join(<>), or for V in <>:. � )� fixer_base)�Name�Call�in_special_contextc @ s. e Z d Z d Z d Z d Z d d � Z d S)�FixZipTz: power< 'zip' args=trailer< '(' [any] ')' > > zfuture_builtins.zipc C s` | j | � r d St | � r# d S| j � } d | _ t t d � | g � } | j | _ | S)N� �list)Zshould_skipr Zclone�prefixr r )�selfZnodeZresults�new� r �:/opt/alt/python35/lib64/python3.5/lib2to3/fixes/fix_zip.py� transform s zFixZip.transformN)�__name__� __module__�__qualname__Z BM_compatibleZPATTERNZskip_onr r r r r r s r N) �__doc__r r Z fixer_utilr r r ZConditionalFixr r r r r �<module> s