Edit file File name : traceback.cpython-38.pyc Content :U �;rc;\ � @ s: d Z ddlZddlZddlZddlZddddddd d ddd ddddddddgZd3dd�Zdd� Zd4dd�Zd5dd �Z d6dd�Z dZdZd7dd�Z d8d d�Zd!d� Zd"d#� Zd$d%� Zd9d&d �Zd:d'd�Zd;d(d �Zd<d)d�Zd=d*d�Zd>d+d�Zd,d� ZG d-d� d�Zd.d� Zd/d� Zd0ZG d1d� de�ZG d2d� d�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 |dkrt 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/lib/python3.8/traceback.py� print_list s r"