관리-도구
편집 파일: __init__.cpython-39.opt-2.pyc
a R�f� � @ s| d dl Z d dlZddlmZ i ZdZdgZejZG dd� dee �Z dd � Zd d� Ze � e� ejdkrxd d� Ze � e� dS )� N� )�aliasesz--unknown--�*c @ s e Zd ZdS )�CodecRegistryErrorN)�__name__� __module__�__qualname__� r r �7/opt/alt/python39/lib64/python3.9/encodings/__init__.pyr ( s r c C sf t | t�rt| d�} g }d}| D ]:}|�� s4|dkrV|rF|rF|�d� |�|� d}q d}q d�|�S )N�asciiF�.�_T� )� isinstance�bytes�str�isalnum�append�join)�encoding�chars�punct�cr r r �normalize_encoding+ s r c C sp t �| t�}|tur|S t| �}t�|�p:t�|�dd��}|d urN||g}n|g}|D ]@}|rXd|v rjqXztd| tdd�}W n ty� Y qX0 q�qXd }z |j }W n t y� d }Y n0 |d u r�d t | <