ok

Mini Shell

Direktori : /opt/alt/python37/lib/python3.7/site-packages/past/builtins/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib/python3.7/site-packages/past/builtins/__pycache__/misc.cpython-37.pyc

B

�A�[�	�
@sddlmZddlZddlZddlmZddlmZmZer�ddl	Z	dd�Z
ddlmZ
dd	�Zd
d�ZddlmZd
d�ZeZddlmZeZeZeZnJddlZej
Z
ejZejZejZejZejZejZejZejZejZejZer�ddd�Ze�rdd	ddddddddg
ZngZdS)�)�unicode_literalsN)�Mapping)�PY3�exec_cOs
|||�S)N�)�f�args�kwrr�C/opt/alt/python37/lib/python3.7/site-packages/past/builtins/misc.py�applysr)�strcCstt|f��S)zU
        Return a byte-string of one character with ordinal i; 0 <= i <= 256
        )�oldstr�bytes)�irrr
�chrsrcCs||k||kS)zf
        cmp(x, y) -> integer

        Return negative if x<y, zero if x==y, positive if x>y.
        r)�x�yrrr
�cmpsr)�interncCsdt�|�dd�S)zUoct(number) -> string

        Return the octal representation of an integer
        �0�N)�builtins�oct)Znumberrrr
r!sr)�reloadc	Cs�|dkr*t��d}|dj}|dj}n|dkr6|}t|t�sHtd��t|t�sZtd��t|d��}|��}WdQRXt	||d�}t
|||�dS)z�
        Read and execute a Python script from a file in the given namespaces.
        The globals and locals are dictionaries, defaulting to the current
        globals and locals. If only globals is given, locals defaults to it.
        N�rzglobals must be a mappingzlocals must be a mappingZrbU�exec)�inspect�stack�	f_globals�f_locals�
isinstancer�	TypeError�open�read�compiler)�filenameZ	myglobalsZmylocalsZcaller_frameZfin�source�coderrr
�execfile=s


r(r�	raw_inputr�unichr�unicode�xrange)NN)Z
__future__r�sysr�collectionsrZfuture.utilsrrrrZ
past.builtinsrr
rrrr�inputr)Zimprr+r*�ranger,Z__builtin__r(�__all__rrrr
�<module>sF


Zerion Mini Shell 1.0