
    Fwg                         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y	g Zy	)
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__future.utilsr   past.builtins.noniteratorsr   r   r   r   r   
past.typesr	   r
   r   r   r   r   r   __builtin__past.builtins.miscr   r   r   r   r   r   r   r   r   r   pastr   __all__     M/var/www/horilla/myenv/lib/python3.12/site-packages/past/builtins/__init__.py<module>r&      s^   'R  H H% % CBL L L L  	99
G Gr$   