OwlCyberSecurity - MANAGER
Edit File: _immutable_ctx.cpython-312.pyc
� \��g� � �\ � d dl Z d dlZ e j dd�� Z G d� d� Zd� Zd� Zy) � N�_immutable_in__init__F)�defaultc �0 � � e Zd ZdZdZ� fd�Z� fd�Z� xZS )� _ImmutablezImmutable mixin class� c �h �� t j � | urt d� �t �| � ||� y �Nz+object doesn't support attribute assignment)�_in__init__�get� TypeError�super�__setattr__)�self�name�value� __class__s ��A/opt/hc_python/lib/python3.12/site-packages/dns/_immutable_ctx.pyr z_Immutable.__setattr__ s- �� ��?�?��D�(��I�J�J��G���e�,� c �f �� t j � | urt d� �t �| � |� y r )r r r r �__delattr__)r r r s �r r z_Immutable.__delattr__ s+ �� ��?�?��D�(��I�J�J��G���%r )�__name__� __module__�__qualname__�__doc__� __slots__r r � __classcell__)r s @r r r s �� �� �I�-�&� &r r c �F � � � fd�}t j � � |_ |S )Nc � �� t j | d � } �| i |�� t j |� y # t j |� w xY w)Nr )r �set�reset)�args�kwargs�previous�fs �r �nfz_immutable_init.<locals>.nf$ sD �� ��?�?�4��7�+�� (� �t��v�����h�'��K���h�'�s �9 �A)�inspect� signature� __signature__)r$ r% s ` r �_immutable_initr) # s"