File: //lib64/python3.9/site-packages/__pycache__/capng.cpython-39.opt-1.pyc
a
    ��nb�  �                   @   s�  d dl mZ edk red��es(dev r6ddlmZ nd dlZzd dlZ	W n e
yd   d dl	Z	Y n0 dd	� Zd
d� Zdd
� Z
dd� ZG dd� de�ZejZejZejZejZejZejZejZejZejZejZejZejZejZejZejZej Z ej!Z!ej"Z"ej#Z#ej$Z$ej%Z%ej&Z&ej'Z'ej(Z(ej)Z)ej*Z*ej+Z+ej,Z,ej-Z-ej.Z.ej/Z/ej0Z0ej1Z1ej2Z2ej3Z3ej4Z4ej5Z5ej6Z6ej7Z7ej8Z8ej9Z9ej:Z:ej;Z;ej<Z<ej=Z=ej>Z>ej?Z?ej@Z@ejAZAejBZBejCZCejDZDejEZEejFZFejGZGejHZHejIZIejJZJejKZKejLZLejMZMejNZNejOZOejPZPejQZQejRZRejSZSddd�dd�ZTddd�dd�ZUddd�dd�ZVdd�dd�ZWd d!d"dd#�d$d%�ZXdRd d!d"d"d"d"d"d"d"d"d"d"d"d"d"d"d"d"d"dd&�d'd(�ZYddd�d)d*�ZZdd�d+d,�Z[ddd-dd.�d/d0�Z\dd�d1d2�Z]ddd3�d4d5�Z^ddd6�d7d8�Z_ddd6�d9d:�Z`dd;d�d<d=�Zad;d�d>d?�Zbd!d"dd@�dAdB�ZcdCddDdE�dFdG�ZddCd!dDdH�dIdJ�ZedKddL�dMdN�Zfd"dKdO�dPdQ�ZgdS )S�    )�version_info)�   �   r   zPython 2.7 or later required�.�   )�_capngNc                 C   sB   zd| j ��  }W n tjy*   d}Y n0 d| jj| jj|f S )Nz	proxy of � z<%s.%s; %s >)�this�__repr__�__builtin__�	Exception�	__class__�
__module__�__name__)�selfZstrthis� r   �+/usr/lib64/python3.9/site-packages/capng.py�
_swig_repr   s
    
r   c                    s   � fdd�}|S )Nc                    sh   |dkr| j �|� nN|dkr,� | ||� n8t| |�rXttt| �|�t�rX� | ||� ntd|  ��d S )NZthisownr	   z(You cannot add instance attributes to %s)r	   Zown�hasattr�
isinstance�getattr�type�property�AttributeError)r   �name�value��setr   r   �set_instance_attr   s    zE_swig_setattr_nondynamic_instance_variable.<locals>.set_instance_attrr   )r   r   r   r   r   �*_swig_setattr_nondynamic_instance_variable   s    	r   c                    s   � fdd�}|S )Nc                    s8   t | |�r(tt| |�t�s(� | ||� ntd|  ��d S )Nz%You cannot add class attributes to %s)r   r   r   r   r   )�clsr   r   r   r   r   �set_class_attr,   s    z?_swig_setattr_nondynamic_class_variable.<locals>.set_class_attrr   )r   r!   r   r   r   �'_swig_setattr_nondynamic_class_variable+   s    r"