Ë
    	š„j  ã                   óÔ   — 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/html/GAP/venv/lib/python3.12/site-packages/past/builtins/__init__.pyú<module>r&      s^   ðñ'õR ß HÕ Há÷%ö %÷ CÕB÷L÷ L÷ Lñ Lå ð 	‡9‚9ò
�Gð �Gr$   