관리-도구
편집 파일: xdrlib.cpython-312.opt-2.pyc
� �Q�f6 � � � d dl Z d dlmZ d dlmZ d dlZ ej ed�� g d�Z G d� de � Z G d � d e � Zd� Z G d� d � Z G d� d� Zy)� N)�BytesIO��wraps)� � )�remove)�Error�Packer�Unpacker�ConversionErrorc � � e Zd Z d� Zd� Zd� Zy)r c � � || _ y �N)�msg)�selfr s �-/opt/alt/python312/lib64/python3.12/xdrlib.py�__init__zError.__init__ s � ���� c �, � t | j � S r )�reprr �r s r �__repr__zError.__repr__ s � ��D�H�H�~�r c �, � t | j � S r )�strr r s r �__str__z Error.__str__ s � ��4�8�8�}�r N)�__name__� __module__�__qualname__r r r � r r r r s � ����r r c � � e Zd Zy)r N)r r r r r r r r # s � �r r c �0 � � t � � � fd�� }|S )Nc � �� �| |� S # t j $ r}t |j d � d �d }~ww xY w�Nr )�struct�errorr �args)r �value�e�functions �r �resultz&raise_conversion_error.<locals>.result) s>