Mini Shell
a
�DOg�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"