AlkantarClanX12
Current Path : /opt/alt/python39/lib64/python3.9/__pycache__/ |
Current File : //opt/alt/python39/lib64/python3.9/__pycache__/xdrlib.cpython-39.opt-2.pyc |
a R�f � @ sp d dl Z d dlmZ d dlmZ g d�ZG dd� de�ZG dd� de�Zd d � Z G dd� d�Z G d d� d�ZdS )� N)�BytesIO��wraps)�Error�Packer�Unpacker�ConversionErrorc @ s$ e Zd Zdd� Zdd� Zdd� ZdS )r c C s || _ d S �N)�msg)�selfr � r �+/opt/alt/python39/lib64/python3.9/xdrlib.py�__init__ s zError.__init__c C s t | j�S r )�reprr �r r r r �__repr__ s zError.__repr__c C s t | j�S r )�strr r r r r �__str__ s z Error.__str__N)�__name__� __module__�__qualname__r r r r r r r r s r c @ s e Zd ZdS )r N)r r r r r r r r s r c s t � �� fdd��}|S )Nc sH z� | |�W S t jyB } zt|jd �d �W Y d }~n d }~0 0 d S �Nr )�struct�errorr �args)r �value�e��functionr r �result&