§
w&ü§4˜ã óÎ — d Z ddlmZ ddlmZmZmZmZmZ erddl m
Z
mZm
ZmZmZ nddlm
Z
mZmZmZmZ ddlmZmZmZmZmZmZmZmZmZmZmZ ddlmZ ej rg d¢Zd S g Zd 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__Ú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__© ó úh/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/past/builtins/__init__.pyú