a
´i ã @ sv d Z ddlZG dd„ dejƒZG dd„ dejƒZG dd„ dejƒZG d d
„ d
eejƒZG dd„ deejƒZd
d„ ZdS )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 Zd Zddd„Zddd„ZdS ) ÚCodecÚstrictc C s t dƒ‚d S ©Nzundefined encoding©ÚUnicodeError©ÚselfÚinputÚerrors© r ú+/usr/lib64/python3.9/encodings/undefined.pyÚencode s zCodec.encodec C s t dƒ‚d S r r r r r r Údecode s zCodec.decodeN)r )r )Ú__name__Ú
__module__Ú__qualname__r
r r r r r r s
r c @ s e Zd Zddd„ZdS )ÚIncrementalEncoderFc C s t dƒ‚d S r r ©r r Úfinalr r r r
s zIncrementalEncoder.encodeN)F)r r r r
r r r r r s r c @ s e Zd Zddd„ZdS )ÚIncrementalDecoderFc C s t dƒ‚d S r r r r r r r s zIncrementalDecoder.decodeN)F)r r r r r r r r r s r c @ s e Zd ZdS )ÚStreamWriterN©r r r r r r r r s r c @ s e Zd ZdS )ÚStreamReaderNr r r r r r # s r c C s t jdtƒ jtƒ jttttd�S )NZ 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 Ú