| Server IP : 68.178.164.50 / Your IP : 216.73.216.142 Web Server : Apache System : Linux 50.164.178.68.host.secureserver.net 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64 User : rathinambschool ( 1053) PHP Version : 8.2.30 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.11/lib2to3/fixes/__pycache__/ |
Upload File : |
�
!A?h � �h � d Z ddlmZ ddlmZ ddlmZ ddlm Z m
Z
mZ G d� dej � � Z
dS ) 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)�Node)�python_symbols)�Name�ArgList�in_special_contextc � � e Zd ZdZdZdZd� ZdS )�FixZipTzN
power< 'zip' args=trailer< '(' [any] ')' > [trailers=trailer*]
>
zfuture_builtins.zipc �� � | � |� � rd S t |� � rd S |d � � � }d|_ g }d|v rd� |d D � � }|D ] }d|_ �
t t
j t d� � |gd�� � }t t
j t d� � t |g� � g|z � � }|j |_ |S )N�args� �trailersc �6 � g | ]}|� � � ��S � )�clone)�.0�ns �./usr/lib64/python3.11/lib2to3/fixes/fix_zip.py�
<listcomp>z$FixZip.transform.<locals>.<listcomp>'