
    d                         d Z ddlmZmZ ddlZeZddZ G d dej                  Z G d d	ej                  Z G d
 dej	                  Z	 G d dej
                  Z
d ZdS )z! Python 'oem' Codec for Windows

    )
oem_encode
oem_decodeNstrictc                 $    t          | |d          S )NT)r   )inputerrorss       /croot/python-split_1694437901252/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.11/encodings/oem.pydecoder
      s    eVT***    c                       e Zd ZddZdS )IncrementalEncoderFc                 8    t          || j                  d         S )Nr   )r   r   )selfr   finals      r	   encodezIncrementalEncoder.encode   s    %--a00r   N)F)__name__
__module____qualname__r    r   r	   r   r      s(        1 1 1 1 1 1r   r   c                       e Zd ZeZdS )IncrementalDecoderN)r   r   r   r   _buffer_decoder   r   r	   r   r      s        NNNr   r   c                       e Zd ZeZdS )StreamWriterN)r   r   r   r   r   r   r   r	   r   r              FFFr   r   c                       e Zd ZeZdS )StreamReaderN)r   r   r   r   r
   r   r   r	   r   r      r   r   r   c            	      t    t          j        dt          t          t          t
          t          t                    S )Noem)namer   r
   incrementalencoderincrementaldecoderstreamreaderstreamwriter)codecs	CodecInfor   r
   r   r   r   r   r   r   r	   getregentryr'       s1    --!!   r   )r   )__doc__r%   r   r   r   r
   r   BufferedIncrementalDecoderr   r   r   r'   r   r   r	   <module>r*      s   
 * ) ) ) ) ) ) )  
+ + + +1 1 1 1 12 1 1 1         :          6&       6&   
	 	 	 	 	r   