| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.6/__pycache__/ |
Upload File : |
3
F1�a|Q �
@ s� d Z ddlZddlZddlZddlZddlm Z
dddddd gZd!dd
�dd�Zd"dd
�dd�Z
dd� Zdd� Zdd� ZG dd� d�Zdd� ZG dd � d �Zdd� Zeeeeeeeeed�h�Zdd� Zd#dd�Z dd� Z!e"d kr�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� �P F)�compactc C s t |||||d�}|j| � dS )zAPretty-print a Python object to a stream [default is sys.stdout].)�stream�indent�width�depthr N)r r )�objectr r
r r r Zprinter� r �/usr/lib/python3.6/pprint.pyr / s c C s t ||||d�j| �S )z<Format a Python object into a pretty-printed representation.)r
r r r )r r )r r
r r r r r r r 7 s c C s t | i dd�d S )z=Version of repr() which can handle recursive data structures.Nr )�
_safe_repr)r r r r r <