AlkantarClanX12
Current Path : /opt/alt/python310/lib64/python3.10/__pycache__/ |
Current File : //opt/alt/python310/lib64/python3.10/__pycache__/dis.cpython-310.pyc |
o 6��f4N � @ s d Z ddlZddlZddlZddlZddlT ddlmZ g d�e Z[ejej ej eee fZed Zdedfed fed ffZed ZdZd d� ZdVddd�dd�ZdVdd�dd�Zddddddddddd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Zdd�d(d)�Ze� d*d+�Z!d,e!j"_ d-e!j_ d.e!j#_ d/e!j$_ d0e!j%_ d1e!j&_ d2e!j'_ d3e!j(_ d4Z)d5Z*G d6d7� d7e!�Z+dd8�d9d:�Z,d;d<� Z-d=d>� Z. dWd?d@�Z/dXdd�dBdC�Z0ddd�dDdE�Z1 dYdddF�dGdH�Z2dIdJ� Z3e0Z4dKdL� Z5dMdN� Z6dOdP� Z7G dQdR� dR�Z8dSdT� Z9e:dUk�re9� dS dS )Zz0Disassembler of Python byte code into mnemonics.� N)�*)�__all__)� code_info�dis�disassemble�distb�disco�findlinestarts� findlabels� show_code�get_instructions�Instruction�Bytecode�FORMAT_VALUE)N� �str�repr�ascii� MAKE_FUNCTION)�defaultsZ kwdefaultsZannotationsZclosurec C s4 z t | |d�}W |S ty t | |d�}Y |S w )z�Attempts to compile the given source, first as an expression and then as a statement if the first approach fails. Utility function to accept strings in functions that otherwise expect code objects �eval�exec)�compile�SyntaxError)�source�name�c� r �*/opt/alt/python310/lib64/python3.10/dis.py�_try_compile s ��r ��file�depthc C sh | du rt |d� dS t| d�r| j} t| d�r| j} nt| d�r%| j} nt| d�r.| j} nt| d�r6| j} t| d�r�t| j� � �}|D ]9\}}t |t�r}td | |d� z t |||d � W n tyw } z td||d� W Y d}~nd}~ww t|d� qDdS t| d�r�t| ||d � dS t | ttf�r�t| |d� dS t | t�r�t| ||d � dS td t| �j ��)a0 Disassemble classes, methods, functions, and other compiled objects. With no argument, disassemble the last traceback. Compiled objects currently include generator objects, async generator objects, and coroutine objects, all of which store their code object in a special attribute. N�r! �__func__�__code__�gi_code�ag_code�cr_code�__dict__zDisassembly of %s:r zSorry:�co_code�(don't know how to disassemble %s objects)r �hasattrr$ r% r&