관리-도구
편집 파일: imghdr.cpython-310.opt-2.pyc
o 6��f� � @ s2 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#kr�e� dS dS )%� )�PathLike�whatNc C s� d }zE|d u r't | ttf�rt| d�}|�d�}n| �� }| �d�}| �|� tD ]}|||�}|r>| W |r=|�� S S q)W |rF|�� d S |rO|�� w w )N�rb� ) � isinstance�strr �open�read�tell�seek�tests�close)�file�h�f�locationZtf�res� r �-/opt/alt/python310/lib64/python3.10/imghdr.pyr s&