File: //lib/python3.10/__pycache__/dis.cpython-310.pyc
o
    E�h4N  �                   @   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)�defaults�
kwdefaults�annotations�closurec                 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    �/usr/lib/python3.10/dis.py�_try_compile   s   ��r"