U
    >h                     @   s   d dl mZ dd ZdS )    )newer_groupc                 C   sh   t | t |krtdg }g }tt | D ]2}t| | || r,|| |  |||  q,||fS )zWalk both arguments in parallel, testing if each source group is newer
    than its corresponding target. Returns a pair of lists (sources_groups,
    targets) where sources is newer than target, according to the semantics
    of 'newer_group()'.
    z5'sources_group' and 'targets' must be the same length)len
ValueErrorranger   append)Zsources_groupstargets	n_sources	n_targetsi r   7/tmp/pip-unpacked-wheel-sym_ama1/setuptools/dep_util.pynewer_pairwise_group   s    r   N)distutils.dep_utilr   r   r   r   r   r   <module>   s   