3
d.                 @   s@   d Z ddlmZ ddlZddlmZ ddgiZdgZd	d Z	dS )
z#
Thin wrappers around `itertools`.
    )absolute_importN   )tqdmzgithub.com/Z	casperdclproductc        	      o   s   |j  }|jdt}yttt| }W n tk
r>   d}Y n(X d}x|D ]}||9 }qJW |jd| |f |,}tj	|  }x|D ]}|V  |j
  qW W dQ R X dS )zx
    Equivalent of `itertools.product`.

    Parameters
    ----------
    tqdm_class  : [default: tqdm.auto.tqdm].
    
tqdm_classN   total)copypop	tqdm_autolistmaplen	TypeError
setdefault	itertoolsr   update)		iterablesZtqdm_kwargskwargsr   Zlensr   itit r   6/tmp/pip-build-v9q4h5k9/tqdm/tqdm/contrib/itertools.pyr      s    



)
__doc__
__future__r   r   autor   r   
__author____all__r   r   r   r   r   <module>   s   
