🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-08 09:22:27 | PHP 8.2.32
📂
/ (Root)
/
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
reactivex
/
observable
/
__pycache__
📍 /opt/alt/python38/lib/python3.8/site-packages/reactivex/observable/__pycache__
🔄 Refresh
✏️
Editing: zip.cpython-38.pyc
Read Only
U v�i � @ s� d dl mZ d dlmZ d dlmZmZmZmZ d dl m Z mZmZ d dl mZmZ d dlmZ e e e eedf d�d d �Zd gZdS )� )�Future)�RLock)�Any�List�Optional�Tuple)� Observable�abc�from_future)�CompositeDisposable�SingleAssignmentDisposable)�synchronized.)�args�returnc s4 t | �� dtjt ttj td�� fdd� }t|�S )a� Merges the specified observable sequences into one observable sequence by creating a tuple whenever all of the observable sequences have produced an element at a corresponding index. Example: >>> res = zip(obs1, obs2) Args: args: Observable sources to zip. Returns: An observable sequence containing the result of combining elements of the sources as tuple. N)�observer� schedulerr c s� t ��}dd� t|�D ��t� }dg| �t|�td d����fdd���td d����fdd�� d g| �td d�� ������fd d �}t|�D ]}||� q�t��S )Nc S s g | ]}g �qS � r )�.0�_r r �I/opt/alt/python38/lib/python3.8/site-packages/reactivex/observable/zip.py� <listcomp>! s z+zip_.<locals>.subscribe.<locals>.<listcomp>F)�ir c s� t dd� �D ��r�zdd� �D �}t|�}W n2 tk r^ } z��|� W Y �d S d }~X Y nX ��|� tdd� t�� �D ��r���� d S )Nc s s | ]}t |�V qd S �N��len)r �qr r r � <genexpr>'