o
    f                     @   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    