o
0i� � @ s d dl mZ dd� ZdS )� )�newer_groupc C sh t | �t |�krtd��g }g }tt | ��D ]}t| | || �r/|�| | � |�|| � q||fS )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_groups�targetsZ n_sourcesZ n_targets�i� r �A/opt/osm/venv/lib/python3.10/site-packages/setuptools/dep_util.py�newer_pairwise_group s ��r N)Zdistutils.dep_utilr r r r r r
�<module> s