ok
Direktori : /opt/alt/python311/lib64/python3.11/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/__pycache__/imghdr.cpython-311.opt-2.pyc |
� �fp � �� � d dl mZ d dlZdgZ ej ed�� � dd�Zg Zd� Ze� e� � d� Z e� e � � d � Ze� e� � d � Ze� e� � d� Z e� e � � d� Ze� e� � d � Ze� e� � d� Ze� e� � d� Ze� e� � d� Ze� e� � d� Ze� e� � d� Ze� e� � d� Ze� e� � d� Zd� Zedk r e� � dS dS )� )�PathLikeN�what)� � )�removec �� � d } |��t | t t f� � r&t | d� � }|� d� � }n>| � � � }| � d� � }| � |� � t D ]+} |||� � }|r|c |r|� � � S S �, |r|� � � n# |r|� � � w w xY wd S )N�rb� ) � isinstance�strr �open�read�tell�seek�tests�close)�file�h�f�location�tf�ress �-/opt/alt/python311/lib64/python3.11/imghdr.pyr r s� � ��A���9��$��h��0�0� $���t�$�$���F�F�2�J�J����9�9�;�;���I�I�b�M�M��� � �(�#�#�#�� � �B��"�Q��(�(�C�� �� � ���a�g�g�i�i�i�i�� � � ��a�g�g�i�i�i���1��a�g�g�i�i�i�i������4s �BC �8C �C*c �D � | dd� dv rdS | d d� dk rdS d S )N� � )s JFIFs Exif�jpeg� s ��۩ �r r s r � test_jpegr! * s? � �;���2��w�$�$�$��v� �2�A�2��%� %� %��v� &� %� c �4 � | � d� � rdS d S )Ns �PNG �png�� startswithr s r �test_pngr'