File: //opt/alt/python35/lib/python3.5/site-packages/setuptools/__pycache__/dep_util.cpython-35.opt-1.pyc
i�Re� � @ s d d l m Z d d � Z d S)� )�newer_groupc C s� t | � t | � k r$ t d � � g } g } xS t t | � � D]? } t | | | | � rC | j | | � | j | | � qC W| | f S)z�Walk 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)Zsources_groupsZtargetsZ n_sourcesZ n_targets�i� r �/dep_util.py�newer_pairwise_group s r
N)Zdistutils.dep_utilr r
r r r r �<module> s