OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
future
/
builtins
/
__pycache__
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/14/2024 03:09:55 PM
rwxr-xr-x
📄
__init__.cpython-37.opt-1.pyc
1.2 KB
11/14/2023 12:39:51 PM
rw-r--r--
📄
__init__.cpython-37.pyc
1.2 KB
11/14/2023 12:39:50 PM
rw-r--r--
📄
disabled.cpython-37.opt-1.pyc
2.29 KB
11/14/2023 12:39:51 PM
rw-r--r--
📄
disabled.cpython-37.pyc
2.29 KB
11/14/2023 12:39:50 PM
rw-r--r--
📄
iterators.cpython-37.opt-1.pyc
1.47 KB
11/14/2023 12:39:51 PM
rw-r--r--
📄
iterators.cpython-37.pyc
1.47 KB
11/14/2023 12:39:50 PM
rw-r--r--
📄
misc.cpython-37.opt-1.pyc
2.71 KB
11/14/2023 12:39:51 PM
rw-r--r--
📄
misc.cpython-37.pyc
2.71 KB
11/14/2023 12:39:50 PM
rw-r--r--
📄
newnext.cpython-37.opt-1.pyc
1.94 KB
11/14/2023 12:39:50 PM
rw-r--r--
📄
newnext.cpython-37.pyc
1.94 KB
11/14/2023 12:39:50 PM
rw-r--r--
📄
newround.cpython-37.opt-1.pyc
2.7 KB
11/14/2023 12:39:51 PM
rw-r--r--
📄
newround.cpython-37.pyc
2.7 KB
11/14/2023 12:39:50 PM
rw-r--r--
📄
newsuper.cpython-37.opt-1.pyc
2.77 KB
11/14/2023 12:39:51 PM
rw-r--r--
📄
newsuper.cpython-37.pyc
2.77 KB
11/14/2023 12:39:50 PM
rw-r--r--
Editing: misc.cpython-37.opt-1.pyc
Close
B ����4A�� @ s d Z ddlmZ ejr�ddlmZ ddlmZmZm Z ddl mZm Z ddl Z e jZeZddlmZ ddlmZ dd lmZ dd lmZ e� Zefdd�Z d ddddddddddgZnNddl Z e jZe jZe j Z e jZe jZe jZe jZe jZe j Z e jZe jZg ZdS )a. A module that brings in equivalents of various modified Python 3 builtins into Py2. Has no effect on Py3. The builtin functions are: - ``ascii`` (from Py2's future_builtins module) - ``hex`` (from Py2's future_builtins module) - ``oct`` (from Py2's future_builtins module) - ``chr`` (equivalent to ``unichr`` on Py2) - ``input`` (equivalent to ``raw_input`` on Py2) - ``next`` (calls ``__next__`` if it exists, else ``next`` method) - ``open`` (equivalent to io.open on Py2) - ``super`` (backport of Py3's magic zero-argument super() function - ``round`` (new "Banker's Rounding" behaviour from Py3) ``isinstance`` is also currently exported for backwards compatibility with v0.8.2, although this has been deprecated since v0.9. input() ------- Like the new ``input()`` function from Python 3 (without eval()), except that it returns bytes. Equivalent to Python 2's ``raw_input()``. Warning: By default, importing this module *removes* the old Python 2 input() function entirely from ``__builtin__`` for safety. This is because forgetting to import the new ``input`` from ``future`` might otherwise lead to a security vulnerability (shell injection) on Python 2. To restore it, you can retrieve it yourself from ``__builtin__._old_input``. Fortunately, ``input()`` seems to be seldom used in the wild in Python 2... � )�utils)�open)�ascii�oct�hex)�unichr�powN)�newnext)�newround)�newsuper)�newintc C s� t | t�rt| �} t |t�r$t|�}t |t�r6t|�}y"|tkrJt| |�S t| ||�S W n: tk r� |tkr~t| d |�S t| d ||�S Y nX dS )z� pow(x, y[, z]) -> number With two arguments, equivalent to x**y. With three arguments, equivalent to (x**y) % z, but may be more efficient (e.g. for ints). y N)� isinstancer Zlong� _SENTINEL�_builtin_pow� ValueError)�x�y�z� r �E/opt/alt/python37/lib/python3.7/site-packages/future/builtins/misc.pyr B s r r �chrr �inputr �nextr r �round�super)!�__doc__Zfuturer ZPY2�ior Zfuture_builtinsr r r Z__builtin__r r r r r Z raw_inputr Zfuture.builtins.newnextr r Zfuture.builtins.newroundr r Zfuture.builtins.newsuperr r Zfuture.types.newintr �objectr �__all__�builtinsr r r r �<module>% s: