Current Path : /opt/alt/python39/lib64/python3.9/__pycache__/ |
Current File : //opt/alt/python39/lib64/python3.9/__pycache__/imghdr.cpython-39.opt-2.pyc |
a R�f� � @ s. d dl mZ dgZd$dd�Zg Zdd� Ze�e� dd� Ze�e� d d � Ze�e� dd� Z e�e � d d� Z e�e � dd� Ze�e� dd� Ze�e� dd� Z e�e � dd� Ze�e� dd� Ze�e� dd� Ze�e� dd� Ze�e� dd� Ze�e� dd � Zd!d"� Zed#k�r*e� dS )%� )�PathLike�whatNc C s� d }z�|d u rNt | ttf�r2t| d�}|�d�}n| �� }| �d�}| �|� tD ](}|||�}|rR| W |rx|�� S qRW |r�|�� n|r�|�� 0 d S )N�rb� ) � isinstance�strr �open�read�tell�seek�tests�close)�file�h�f�locationZtf�res� r �+/opt/alt/python39/lib64/python3.9/imghdr.pyr s"