Server IP : 184.154.167.98 / Your IP : 3.146.206.19 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 8.2.26 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib64/python3.6/__pycache__/ |
Upload File : |
3 \|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/lib64/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 <