/
proc
/
self
/
root
/
lib
/
python3
/
dist-packages
/
pkg_resources
/
_vendor
/
more_itertools
/
__pycache__
/
Upload File
HOME
� ���c�Y � � � d Z ddlZddlZddlmZ ddlmZ ddlmZ ddl m Z mZmZm Z mZmZmZmZmZmZmZ ddlmZmZmZ g d�Z e� � Zd � Zd5d �Zd� Zd6d�Zd6d �Z d� Z!e"fd�Z#d� Z$e$Z%d� Z&d� Z'd� Z(d6d�Z)d� Z* ddl m+Z, d� Z+e*j e+_ n # e-$ r e*Z+Y nw xY w G d� de.� � Z/d� Z0d� Z1d7d�Z2d� Z3d� Z4d � Z5d6d!�Z6d6d"�Z7d6d#�Z8d8d$�Z9d%d&�d'�Z:d6d(�Z;d)� Z<d*� Z=d+� Z>d,� Z?d-� Z@d.� ZAd/� ZBd0� ZCd1� ZDd2� ZEd3� ZFd4� ZGdS )9a Imported from the recipes section of the itertools documentation. All functions taken from the recipes section of the itertools library docs [1]_. Some backward-compatible usability improvements have been made. .. [1] http://docs.python.org/library/itertools.html#recipes � N)�deque)�Sized)�reduce)�chain�combinations�compress�count�cycle�groupby�islice�repeat�starmap�tee�zip_longest)� randrange�sample�choice)$� all_equal�batched�before_and_after�consume�convolve� dotproduct� first_true�flatten�grouper�iter_except�ncycles�nth�nth_combination�padnone�pad_none�pairwise� partition�polynomial_from_roots�powerset�prepend�quantify�#random_combination_with_replacement�random_combination�random_permutation�random_product� repeatfunc� roundrobin�sieve�sliding_window� subslices�tabulate�tail�take� triplewise�unique_everseen�unique_justseenc �<