B
    Jd                 @   s4   d 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`.
    N   )tqdmzgithub.com/Z	casperdclproductc        	   	   o   s   |  }|dt}yttt| }W n tk
r>   d}Y n(X d}x|D ]}||9 }qJW |d| |f |,}tj	|  }x|D ]}|V  |
  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   H/var/www/html/venv/lib/python3.7/site-packages/tqdm/contrib/itertools.pyr      s    



)__doc__r   autor   r
   
__author____all__r   r   r   r   r   <module>   s
   
