0x1949 Team - FAZEMRX - MANAGER
Edit File: recipes.cpython-310.pyc
o �B;aA � @ s� d Z ddlZddlmZ ddlmZmZmZmZm Z m Z mZmZm Z mZ ddlZddlmZmZmZ g d�Zdd� ZdDd d �Zdd� ZdEd d�ZdEdd�Zdd� Zefdd�Zdd� ZeZdd� Zdd� Z dd� Z!dEdd�Z"dd � Z#zdd!lm$Z% W n e&y� e#Z$Y n w d"d#� Z$e#j e$_ dEd$d%�Z'd&d'� Z(d(d)� Z)d*d+� Z*dEd,d-�Z+dEd.d/�Z,dEd0d1�Z-dFd2d3�Z.d4d5�d6d7�Z/dEd8d9�Z0d:d;� Z1d<d=� Z2d>d?� Z3d@dA� Z4dBdC� Z5dS )Ga 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) �chain�combinations�count�cycle�groupby�islice�repeat�starmap�tee�zip_longest)� randrange�sample�choice)� all_equal�consume�convolve� dotproduct� first_true�flatten�grouper�iter_except�ncycles�nth�nth_combination�padnone�pad_none�pairwise� partition�powerset�prepend�quantify�#random_combination_with_replacement�random_combination�random_permutation�random_product� repeatfunc� roundrobin�tabulate�tail�take�unique_everseen�unique_justseenc C � t t|| ��S )z�Return first *n* items of the iterable as a list. >>> take(3, range(10)) [0, 1, 2] If there are fewer than *n* items in the iterable, all of them are returned. >>> take(10, range(3)) [0, 1, 2] )�listr ��n�iterable� r2 �8/usr/lib/python3/dist-packages/more_itertools/recipes.pyr* <