Mini Shell
a
�DOgT` � @ s d Z ddlZddlZddlZddlZg d�Zd4dd�Zdd� Zd5dd �Zd6d
d�Z d7dd
�Z
dZdZd8dd�Z
d9dd�Zdd� Zdd� Zdd� Zd:dd�Zd;dd�Zd<dd �Zd=d!d"�Zd>d#d$�Zd?d%d&�Zd'd(� ZG d)d*� d*�Zd+d,� Zd-d.� Zd/ZG d0d1� d1e�ZG d2d3� d3�ZdS )@z@Extract, format and print information about Python stack traces.� N)�
extract_stack�
extract_tb�format_exception�format_exception_only�format_list�format_stack� format_tb� print_exc�
format_exc�print_exception�
print_last�print_stack�print_tb�clear_frames�FrameSummary�StackSummary�TracebackException�
walk_stack�walk_tbc C s4 |du rt j}t�| ��� D ]}t||dd� qdS )zyPrint the list of tuples as returned by extract_tb() or
extract_stack() as a formatted stack trace to the given file.N� ��file�end)�sys�stderrr � from_list�format�print)�extracted_listr �item� r �!/usr/lib64/python3.9/traceback.py�
print_list s r"