python (3.12.0)
ˑeY x d Z g dZddlZddlmZ ddlmZ d
dZ G d d Zd Z e Z
e
j Zy)zGRedo the builtin repr() (representation) but with limits on most sizes.)Reprreprrecursive_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 |_ |S )Nc t | t f}|v rS j | | }j | |S # j | w xY wN)idr adddiscard)selfkeyresult fillvaluerepr_running
user_functions ;/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/reprlib.pywrapperz<recursive_repr.<locals>.decorating_function.<locals>.wrapper sc T(IK'Cl" S!
*&t,$$S)M $$S)s A
A
__module____doc____name____qualname____annotations__)setgetattrr r r r r )r r r r s ` @r decorating_functionz+recursive_repr.<locals>.decorating_function sc u %]LA!-;"=*=&}nE")-9JB"O )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
maxlevelmaxtuplemaxlistmaxarraymaxdictmaxsetmaxfrozensetmaxdeque maxstringmaxlongmaxotherr indentc
|| _ || _ || _ || _ || _ || _ || _ || _ | | _ |
| _ || _
|| _ |
| _ y r r( )r r) r* r+ r, r- r. r/ r0 r1 r2 r3 r r4 s r __init__z
Repr.__init__&