%PDF- %PDF-
Direktori : /lib/python3.12/__pycache__/ |
Current File : //lib/python3.12/__pycache__/reprlib.cpython-312.pyc |
� ���f� � �x � d Z g d�ZddlZddlmZ ddlmZ d d�Z G d� d� Zd � Z e� Z e j Zy)zGRedo the builtin repr() (representation) but with limits on most sizes.)�Repr�repr�recursive_repr� N)�islice)� get_identc � � � � fd�}|S )zGDecorator to make a repr function return fillvalue for a recursive callc � �� �� t � ���� fd�}t � d� |_ t � d� |_ t � d� |_ t � d� |_ t � di � |_ t � dd� |_ |S ) Nc � �� t | � t � f}|�v r�S �j |� �| � }�j |� |S # �j |� w xY w�N)�idr �add�discard)�self�key�result� fillvalue�repr_running� user_functions ����/usr/lib/python3.12/reprlib.py�wrapperz<recursive_repr.<locals>.decorating_function.<locals>.wrapper sc �� ��T�(�I�K�'�C��l�"� � ����S�!� *�&�t�,���$�$�S�)��M�� �$�$�S�)�s �A � A� __module__�__doc__�__name__�__qualname__�__annotations__�__type_params__� )�set�getattrr r r r r r )r r r r s ` @�r �decorating_functionz+recursive_repr.<locals>.decorating_function su �� ��u�� � %�]�L�A���!�-��;���"�=�*�=���&�}�n�E���")�-�9J�B�"O���")�-�9J�B�"O����� r )r r s ` r r r s �� ��. �r! c � � e Zd Zdddddddddddddd� d �Zd � Zd� Zd� Zdd �Zd� Zd� Z d� Z d� Zd� Zd� Z d� Zd� Zd� Zd� Zy)r � � � � �( �...N� �maxlevel�maxtuple�maxlist�maxarray�maxdict�maxset�maxfrozenset�maxdeque� maxstring�maxlong�maxotherr �indentc � � || _ || _ || _ || _ || _ || _ || _ || _ | | _ | | _ || _ || _ | | _ y r r) )r r* r+ r, r- r. r/ r0 r1 r2 r3 r4 r r5 s r �__init__z Repr.__init__'