File: //usr/lib/python3.10/__pycache__/tabnanny.cpython-310.pyc
o
    E�h#,  �                   @   s�   d Z dZddlZddlZddlZg d�Zdadadd� Zdd� Z	G d	d
� d
e
�Zdd� ZG d
d� d�Z
dd� Zdd� ZedkrDe	�  dS dS )a�  The Tab Nanny despises ambiguous indentation.  She knows no mercy.
tabnanny -- Detection of ambiguous indentation
For the time being this module is intended to be called as a script.
However it is possible to import it into an IDE and use the function
check() described below.
Warning: The API provided by this module is likely to change in future
releases; such changes may not be backward compatible.
�6�    N)�check�NannyNag�process_tokensc                  G   s6   d}| D ]}t j�|t|� � d}qt j�d� d S )N� � �
)�sys�stderr�write�str)�args�sep�arg� r   �/usr/lib/python3.10/tabnanny.py�errprint    s
   r   c               
   C   s�   dd l } z| � tjdd � d�\}}W n | jy+ } zt|� W Y d }~d S d }~ww |D ]\}}|dkr:td a|dkrBtd aq.|sPtdtjd d� d S |D ]}t|� qRd S )Nr   �   �qvz-qz-vzUsage:z[-v] file_or_directory ...)�getoptr	   �argv�errorr   �
filename_only�verboser   )r   �optsr
   �msg�o�ar   r   r   r   �main'