Mini Shell
a
�DOgaY � @ sv d Z ddlZddlZddlZddlZg d�ZG dd� d�Zddd�Zdd d
�ZG dd� d�Z d
d� Z
edkrre
� dS )z Class for profiling Python code.� N)�run�runctx�Profilec @ s0 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
S )�_Utilsz�Support class for utility functions which are shared by
profile.py and cProfile.py modules.
Not supposed to be used directly.
c C s
|| _ d S �N)�profiler)�selfr � r �/usr/lib64/python3.9/profile.py�__init__0 s z_Utils.__init__c C sR | � � }z4z|�|� W n ty* Y n0 W | �|||� n| �|||� 0 d S r )r r �
SystemExit�_show)r � statement�filename�sort�profr r r
r 3 s z
_Utils.runc C sV | � � }z8z|�|||� W n ty. Y n0 W | �|||� n| �|||� 0 d S r )r r r r
)r r �globals�localsr r r r r r
r <