| Server IP : 146.190.157.162 / Your IP : 216.73.217.6 Web Server : Apache System : Linux ubuntu-s-2vcpu-4gb-amd-sfo3-01-KIT-DIGITAL 6.5.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:10:09 UTC 2024 x86_64 User : businessweek ( 639) PHP Version : 8.2.10-2ubuntu2.2 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_signal,pcntl_signal_dispatch,pcntl_getpriority,pcntl_setpriority,dl,putenv,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3.11/__pycache__/ |
Upload File : |
�
��f�_ � �0 � d Z ddlZddlZddlZddlZddlZ ddl
mZ g d�Z
ddddd �d
�Zddddd �d�Zdd�d
�Zd� Zd� Zd� Z G d� d� � Zd� Z G d� d� � Z eeeeeee ed� � h� � Zd� Z dd�Z!d� Z"e#dk r e!� � dS 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_dicts�underscore_numbersc �\ � t |||||||�� � }|� | � � dS )zAPretty-print a Python object to a stream [default is sys.stdout].)�stream�indent�width�depthr r r N)r r ) �objectr r r r r r r �printers �/usr/lib/python3.11/pprint.pyr r 0 sC � � ��f�E���J�-�/� /� /�G� �N�N�6������ c �R � t ||||||�� � � | � � 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 s r r r 9 s8 � � ��e�5�!(�Z�,>�@� @� @�@G�����Pr )r c �* � t | g|�R d|i|�� dS )zPretty-print a Python objectr N)r )r r �args�kwargss r r
r
@ s+ � �
�6�:�D�:�:�:�Z�:�6�:�:�:�:�:r c �V � t � � � | i dd� � d S )z=Version of repr() which can handle recursive data structures.Nr �r �
_safe_repr�r s r r r D �% � ��?�?�%�%�f�b�$��:�:�1�=�=r c �V � t � � � | i dd� � d S )z4Determine if saferepr(object) is readable by eval().Nr r r r! s r r r H r"