File: //opt/alt/python27/lib/python2.7/site-packages/past/builtins/noniterators.pyo
�
�A�[c           @` s&  d  Z  d d l m Z m Z m Z d d l m Z m Z d d l Z d d l m	 Z	 d d l
 m Z d �  Z e r� d d l
 Z
 d �  Z d	 �  Z d
 �  Z d �  Z e Z e Z e Z d d l m Z e Z d
 d d d d g Z n? d d l Z e j Z e j Z e j Z e j Z e j Z g  Z d S(   s,  
This module is designed to be used as follows::
    from past.builtins.noniterators import filter, map, range, reduce, zip
And then, for example::
    assert isinstance(range(5), list)
The list-producing functions this brings in are::
- ``filter``
- ``map``
- ``range``
- ``reduce``
- ``zip``
i    (   t   divisiont   absolute_importt   print_function(   t   chaint   starmapN(   t
   basestring(   t   PY3c         C` s   t  j t |  | � � S(   N(   R   t
   from_iterablet   map(   t   ft   items(    (    sK   /opt/alt/python27/lib/python2.7/site-packages/past/builtins/noniterators.pyt   flatmap   s    c          G` s   t  |  d � } t |  d t � r<