Your IP : 3.133.155.48
�
��f� c @ 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( u7
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 ( u
fixer_base( u Nameu Callu in_special_contextc B s2 | Ee Z d Z d Z d Z d Z d d � Z d S( u FixZipu:
power< 'zip' args=trailer< '(' [any] ')' >
>
u future_builtins.zipc C s` | j | � r d St | � r# d S| j � } d | _ t t d � | g � } | j | _ | S( Nu u list( u should_skipu in_special_contextu Noneu cloneu prefixu Callu Name( u selfu nodeu resultsu new( ( u: /opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_zip.pyu transform s u FixZip.transformNT( u __name__u
__module__u __qualname__u Trueu
BM_compatibleu PATTERNu skip_onu transform( u
__locals__( ( u: /opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_zip.pyu FixZip s u FixZipN( u __doc__u u
fixer_baseu
fixer_utilu Nameu Callu in_special_contextu ConditionalFixu FixZip( ( ( u: /opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_zip.pyu <module> s