a
´iÿW ã
@ sø d Z ddlZddlZddlZddlZddlm Z
g d¢Zd&ddd œd
d„Zd'ddd œdd
„Z
ddœdd„Zdd„ Zdd„ Zdd„ ZG dd„ dƒZdd„ ZG dd„ dƒZdd„ ZeeeeeeeeedƒhƒZdd „ Z d(d!d"„Z!d#d$„ Z"e#d%k� rôe!ƒ dS ))a/ Support to pretty-print lists, tuples, & dictionaries recursively.
Very simple, but useful, especially in debugging data structures.
Classes
-------
PrettyPrinter()
Handle pretty-printing operations onto a stream using a configured
set of formatting parameters.
Functions
---------
pformat()
Format a Python object into a pretty-printed representation.
pprint()
Pretty-print a Python object to a stream [default is sys.stdout].
saferepr()
Generate a 'standard' repr()-like value, but protect against recursive
data structures.
é N)ÚStringIO)ÚpprintÚpformatÚ
isreadableÚisrecursiveÚsafereprÚ
PrettyPrinterÚppé éP FT©ÚcompactÚ
sort_dictsc C s" t ||||||d�}| | ¡ dS )zAPretty-print a Python object to a stream [default is sys.stdout].)ÚstreamÚindentÚwidthÚdepthr
r N)r r )Úobjectr r r r r
r Zprinter© r ú/usr/lib64/python3.9/pprint.pyr / s
þr c C s t |||||d� | ¡S )z