Hacked By AnonymousFox
�
�܋f� � � � d dl Z d� Zd� ZdS )� Nc � � t j | � }d� |� � � d� � }t |� � S )zjFormat an exception as diagnostics output.
exception is the tuple as expected from sys.exc_info.
� T)� traceback�format_exception�join�
splitlines�format_as_diagnostics)� exception�exception_lines�liness �^/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/tap/formatter.pyr r s@ � �
�0�)�<�O�
�G�G�O�$�$�/�/��5�5�E� ��'�'�'� c �@ � d� d� | D � � � � S )z�Format the lines as diagnostics output by prepending the diagnostic #.
This function makes no assumptions about the line endings.
r c � � g | ]}d |z ��S )z# � )�.0�lines r
�
<listcomp>z)format_as_diagnostics.<locals>.<listcomp> s � �2�2�2�D�D�4�K�2�2�2r )r )r s r
r r s% � �
�7�7�2�2�E�2�2�2�3�3�3r )r r r r r r
�<module>r s9 �� � � � �
(�
(�
(�4� 4� 4� 4� 4r
Hacked By AnonymousFox1.0, Coded By AnonymousFox