File: //opt/cloudlinux/venv/lib64/python3.11/site-packages/guppy/heapy/__pycache__/View.cpython-311.pyc
�
    � h/L  �                   �   �  G d � d�  �        Z  G d� de�  �        Z G d� de�  �        Z G d� de�  �        Z G d� d	�  �        Zd
� Z e�   �          dadS )
c                   �   � e Zd Zd� Zd� ZdS )�Horizonc                 �  � || _         |j        | _        | j         j        | _        |j        | _        | j         j        j        j        | _        | j         j        | _        t          | �                    | �                    dg di | j	        �  �        �  �        | �                    d�  �        z
  �  �         |j        j
         |j         |j        �
                    �   �          |j        �                    | j        �  �        | _        d S )N�   � )�mod�_hiding_tag_�retset�hv�_root�sys�exc_info�iso�str�__dict__�heap�enter�gc�collect�heapycr   �
hv_horizon)�selfr   s     �E/opt/cloudlinux/venv/lib/python3.11/site-packages/guppy/heapy/View.py�__init__zHorizon.__init__   s�   � �����,����h�o����&������*�3��
��8�<����D�K�K�����B��B��
�>�>�?�?��H�H�R�L�L�
� 	� 	� 	������	�	���������*�,�,�T�W�5�5�����    c                 �   � | �                     | j        �                    | j        �                    | j        j        �  �        �  �        �  �        }|S �N)r	   r   �newsr   r   r
   r   )r   �rs     r   r   zHorizon.news   s:   � ��K�K���,�,�T�X�^�^�D�G�L�-I�-I�J�J�K�K���r   N)�__name__�
__module__�__qualname__r   r   r   r   r   r   r      s2   � � � � � �
6� 
6� 
6�� � � � r   r   c                   �   � e Zd ZdZd� Zd� ZdS )�
ClearCallback��callbackc                 �   � || _         d S r   r$   )r   r%   s     r   r   zClearCallback.__init__   s
   � � ��
�
�
r   c                 �`   � | j         �| �                     |�  �         d S t          d�  �         d S )NzNo callback)r%   �print)r   �wrs     r   �__call__zClearCallback.__call__   s6   � ��=�$��M�M�"�������-� � � � � r   N)r   r    r!   �	__slots__r   r*   r   r   r   r#   r#      s7   � � � � � ��I�!� !� !�!� !� !� !� !r   r#   c                   �   � e Zd ZdZd� ZdS )�Gchook_type)�x�__weakref__�cbc                 �   � | | _         d S r   )r.   )�gs    r   r   zGchook_type.__init__&