B
    ¦�2[  ã               @   sp   d Z ddlZejZddd„ZG dd„ dejƒZG dd	„ d	ejƒZG d
d„ dejƒZG dd„ dej	ƒZ	dd„ Z
dS )z� Python 'utf-8' Codec


Written by Marc-Andre Lemburg (mal@lemburg.com).

(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.

é    NÚstrictc             C   s   t  | |d¡S )NT)ÚcodecsÚutf_8_decode)ÚinputÚerrors© r   úYC:\Users\hironori_takatsuka\AppData\Local\Programs\Python\Python37\lib\encodings\utf_8.pyÚdecode   s    r	   c               @   s   e Zd Zddd„ZdS )ÚIncrementalEncoderFc             C   s   t  || j¡d S )Nr   )r   Úutf_8_encoder   )Úselfr   Úfinalr   r   r   Úencode   s    zIncrementalEncoder.encodeN)F)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r
      s   r
   c               @   s   e Zd ZejZdS )ÚIncrementalDecoderN)r   r   r   r   r   Ú_buffer_decoder   r   r   r   r      s   r   c               @   s   e Zd ZejZdS )ÚStreamWriterN)r   r   r   r   r   r   r   r   r   r   r      s   r   c               @   s   e Zd ZejZdS )ÚStreamReaderN)r   r   r   r   r   r	   r   r   r   r   r      s   r   c            	   C   s   t jdttttttd�S )Nzutf-8)Únamer   r	   ÚincrementalencoderÚincrementaldecoderÚstreamreaderÚstreamwriter)r   Ú	CodecInfor   r	   r
   r   r   r   r   r   r   r   Úgetregentry!   s    r   )r   )Ú__doc__r   r   r   r	   r
   ÚBufferedIncrementalDecoderr   r   r   r   r   r   r   r   Ú<module>   s   
