관리-도구
편집 파일: models.cpython-38.pyc
U *�eh- � @ s� d dl mZ d dlmZ d dlmZ d dlmZmZm Z m Z mZmZm Z ddlmZ ddlmZmZmZ G dd � d �ZG d d� d�Zeeef Ze e ZG dd � d �ZdS )� )�aliases)�sha256)�dumps)�Any�Dict�Iterator�List�Optional�Tuple�Union� )�TOO_BIG_SEQUENCE)� iana_name�is_multi_byte_encoding� unicode_rangec @ s� e Zd Zd8eeeedee d�dd�Ze ed�dd�Z e ed�d d �Zeed�dd ��Z ed�dd�Zed�dd�Zd dd�dd�Zeed�dd��Zeee d�dd��Zeed�dd��Zeed�dd��Zeee d�dd��Zeed�dd��Zeed�d d!��Zeed�d"d#��Zeed�d$d%��Zeed�d&d'��Zeed�d(d)��Zeed d�d*d+��Zeed�d,d-��Zeee d�d.d/��Zeee d�d0d1��Z d9eed3�d4d5�Z!eed�d6d7��Z"dS ):�CharsetMatchN�CoherenceMatches)�payload�guessed_encoding�mean_mess_ratio�has_sig_or_bom� languages�decoded_payloadc C sF || _ || _|| _|| _|| _d | _g | _d| _d | _d | _ || _ d S )N� )�_payload� _encoding�_mean_mess_ratio� _languages�_has_sig_or_bom�_unicode_ranges�_leavesZ_mean_coherence_ratio�_output_payload�_output_encoding�_string)�selfr r r r r r � r% �I/opt/hc_python/lib64/python3.8/site-packages/charset_normalizer/models.py�__init__ s zCharsetMatch.__init__)�other�returnc C s>