Server IP : 68.65.122.142  /  Your IP : 216.73.216.182
Web Server : LiteSpeed
System : Linux server167.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : glenirhm ( 1318)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /var/../lib64/python3.8/pydoc_data/../html/../../python3.6/../python2.7/lib2to3/fixes/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //var/../lib64/python3.8/pydoc_data/../html/../../python3.6/../python2.7/lib2to3/fixes/fix_zip.pyc
�
{fc@sOdZddlmZddlmZmZmZdejfd��YZdS(s7
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 <>:.
i(t
fixer_base(tNametCalltin_special_contexttFixZipcBs#eZeZdZdZd�ZRS(s:
    power< 'zip' args=trailer< '(' [any] ')' >
    >
    sfuture_builtins.zipcCs`|j|�rdSt|�r#dS|j�}d|_ttd�|g�}|j|_|S(Nuulist(tshould_skipRtNonetclonetprefixRR(tselftnodetresultstnew((s-/usr/lib64/python2.7/lib2to3/fixes/fix_zip.pyt	transforms	(t__name__t
__module__tTruet
BM_compatibletPATTERNtskip_onR
(((s-/usr/lib64/python2.7/lib2to3/fixes/fix_zip.pyRsN(	t__doc__tRt
fixer_utilRRRtConditionalFixR(((s-/usr/lib64/python2.7/lib2to3/fixes/fix_zip.pyt<module>s