Server : Apache System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64 User : nobody ( 99) PHP Version : 8.1.23 Disable Function : NONE Directory : /opt/alt/python38/lib64/python3.8/__pycache__/ |
U ��,a� � @ s^ d Z dddgZddlZddlmZ ddlmZ d d d�ZG d d� d�Zdd� Z e� Z e jZdS )zGRedo the builtin repr() (representation) but with limits on most sizes.�Repr�repr�recursive_repr� N)�islice)� get_ident�...c s � fdd�}|S )zGDecorator to make a repr function return fillvalue for a recursive callc sX t � � �� �fdd�}t�d�|_t�d�|_t�d�|_t�d�|_t�di �|_|S )Nc sB t | �t� f}|�kr� S ��|� z�| �}W 5 ��|� X |S �N)�idr �add�discard)�self�key�result)� fillvalue�repr_running� user_function� �,/opt/alt/python38/lib64/python3.8/reprlib.py�wrapper s z<recursive_repr.<locals>.decorating_function.<locals>.wrapper� __module__�__doc__�__name__�__qualname__�__annotations__)�set�getattrr r r r r )r r �r )r r r �decorating_function s z+recursive_repr.<locals>.decorating_functionr )r r r r r r s c @ s~ e Zd Zdd� Zdd� Zdd� Zddd �Zd d� Zdd � Zdd� Z dd� Z dd� Zdd� Zdd� Z dd� Zdd� Zdd� ZdS ) r c C sF d| _ d| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d S )N� � � � �( )�maxlevel�maxtuple�maxlist�maxarray�maxdict�maxset�maxfrozenset�maxdeque� maxstring�maxlong�maxother)r r r r �__init__&