o
    éT•j  ã                   @   sv   d Z ddl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ejƒZG dd„ deejƒZdd„ ZdS )a5   Python 'undefined' Codec

    This codec will always raise a ValueError exception when being
    used. It is intended for use by the site.py file to switch off
    automatic string to Unicode coercion.

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

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

é    Nc                   @   s    e Zd Zddd„Zddd„ZdS )ÚCodecÚstrictc                 C   ó   t dƒ‚©Nzundefined encoding©ÚUnicodeError©ÚselfÚinputÚerrors© r   ú*/usr/lib/python3.10/encodings/undefined.pyÚencode   ó   zCodec.encodec                 C   r   r   r   r   r   r   r   Údecode   r   zCodec.decodeN)r   )Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   r      s    
r   c                   @   ó   e Zd Zddd„ZdS )ÚIncrementalEncoderFc                 C   r   r   r   ©r	   r
   Úfinalr   r   r   r      r   zIncrementalEncoder.encodeN©F)r   r   r   r   r   r   r   r   r      ó    r   c                   @   r   )ÚIncrementalDecoderFc                 C   r   r   r   r   r   r   r   r      r   zIncrementalDecoder.decodeNr   )r   r   r   r   r   r   r   r   r      r   r   c                   @   ó   e Zd ZdS )ÚStreamWriterN©r   r   r   r   r   r   r   r       ó    r   c                   @   r   )ÚStreamReaderNr   r   r   r   r   r   #   r   r   c                	   C   s    t jdtƒ jtƒ jttttd�S )NÚ	undefined)Únamer   r   ÚincrementalencoderÚincrementaldecoderÚstreamwriterÚstreamreader)	ÚcodecsÚ	CodecInfor   r   r   r   r   r   r   r   r   r   r   Úgetregentry(   s   ùr(   )Ú__doc__r&   r   r   r   r   r   r(   r   r   r   r   Ú<module>   s    