관리-도구
편집 파일: recipes.cpython-311.pyc
� N�Dg�? � � � d Z ddlZddlmZ ddlmZmZmZmZm Z m Z mZmZm Z mZ ddlZddlmZmZmZ g d�Zd� Zd'd�Zd � Zd(d �Zd(d�Zd� Zefd �Zd� ZeZd� Zd� Z d� Z!d(d�Z"d� Z# ddlm$Z% d� Z$e#j e$_ n # e&$ r e#Z$Y nw xY wd(d�Z'd� Z(d� Z)d� Z*d(d�Z+d(d�Z,d(d�Z-d)d�Z.dd�d �Z/d(d!�Z0d"� Z1d#� Z2d$� Z3d%� Z4d&� Z5dS )*a 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 �<