o
    i                     @   s   d Z ddlmZ ddlmZmZmZmZmZ er'd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r^g dZd	S 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)utils)r   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   e/var/www/html/eduruby.in/lip-sync/lip-sync-env/lib/python3.10/site-packages/past/builtins/__init__.py<module>   s    )4