Spade
Mini Shell
| Directory:~$ /proc/self/root/usr/lib/python2.7/site-packages/past/builtins/ |
| [Home] [System Details] [Kill Me] |
�
,�]c@sHdZddlmZddlmZmZmZmZmZeroddl m
Z
mZm
ZmZmZn(ddlm
Z
mZmZmZmZddlmZmZmZmZmZmZmZmZmZmZmZddlmZejr>dd d
ddd
dddddddddddddgZngZdS(s�
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
i����(tPY3(tfiltertmaptrangetreducetzip(t
basestringtolddicttoldstrtlongtunicode(RtdicttstrR R
(tapplytchrtcmptexecfiletinterntoctt raw_inputtreloadtunichrR
txrange(tutilsRRRRRRRRR R
R
RRRRRRRRN(
t__doc__tfuture.utilsRtpast.builtins.noniteratorsRRRRRt
past.typesRRRRRR R
t__builtin__tpast.builtins.miscR
RRRRRRRRRtpastRt__all__(((s:/usr/lib/python2.7/site-packages/past/builtins/__init__.pyt<module>(s(+(L