U
    h                     @   s   d Z ddlmZ ddlmZmZmZmZmZ erNddl	m
Z
mZmZmZmZ nddlm
Z
mZmZmZmZ ddlmZmZmZmZmZmZmZmZmZmZmZ ddlmZ ejrdd	d
ddddddddddddddddgZng ZdS )a  
A resurrection of some old functions from Python 2 for use in Python 3. These
should be used sparingly, to help with porting efforts, since code using them
is no longer standard Python 3 code.

This module provides the following:

1. Implementations of these builtin functions which have no equivalent on Py3:

- apply
- chr
- cmp
- execfile

2. Aliases:

- intern <- sys.intern
- raw_input <- input
- reduce <- functools.reduce
- reload <- imp.reload
- unichr <- chr
- unicode <- str
- xrange <- range

3. List-producing versions of the corresponding Python 3 iterator-producing functions:

- filter
- map
- range
- zip

4. Forward-ported Py2 types:

- basestring
- dict
- str
- long
- unicode

    )PY3)filtermaprangereducezip)
basestringolddictoldstrlongunicode)r   dictstrr   r   )applychrcmpexecfileinternoct	raw_inputreloadunichrr   xrange)utilsr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   N) __doc__Zfuture.utilsr   Zpast.builtins.noniteratorsr   r   r   r   r   Z
past.typesr   r	   r   r
   r   r   r   __builtin__Zpast.builtins.miscr   r   r   r   r   r   r   r   r   r   Zpastr   __all__ r   r   H/var/www/html/venv/lib/python3.8/site-packages/past/builtins/__init__.py<module>   s2   )4
           