Mini Shell
a
�DOg&7 � @ s� d Z ddlZG dd� dej�ZG dd� dej�ZG dd� dej�ZG d d
� d
eej�ZG dd� deej�Zd
d� ZdZe� e�Z
dS )a Python Character Mapping Codec mac_latin2 generated from 'MAPPINGS/VENDORS/MICSFT/MAC/LATIN2.TXT' with gencodec.py.
Written by Marc-Andre Lemburg (mal@lemburg.com).
(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
(c) Copyright 2000 Guido van Rossum.
� Nc @ s e Zd Zddd�Zddd�ZdS ) �Codec�strictc C s t �||t�S �N)�codecs�charmap_encode�encoding_table��self�input�errors� r �,/usr/lib64/python3.9/encodings/mac_latin2.py�encode s zCodec.encodec C s t �||t�S r )r �charmap_decode�decoding_tabler 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 �|| jt�d S �Nr )r r 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 �|| jt�d S r )r r 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
mac-latin2)�namer r �incrementalencoder�incrementaldecoder�streamreader�streamwriter) r � CodecInfor r r r r r r r r r r
�getregentry&